This method is provided as a shortcut to set these commonly used scan parameters all at once.
Visual Basic |
---|
Public Function SetFilterParams( _ ByVal dCutAxisLocation As Double, _ ByVal nAxis As Long, _ ByVal dMaxIncrement As Double, _ ByVal dMinIncrement As Double, _ ByVal dMaxAngle As Double, _ ByVal dMinAngle As Double _ ) As Boolean |
- dCutAxisLocation
- nAxis
- Required Long that sets the cut axis. It is used only for axis filters. For axis filters, 0 means the X axis, 1 means the Y-axis, and 2 means the Z-axis.
- dMaxIncrement
- Required Double that sets the maximum increment. For fixed-length filters, this is simply the fixed increment
- dMinIncrement
- Required Double that sets the minimum increment.
- dMaxAngle
- Required Double that sets the maximum angle.
- dMinAngle
- Required Double that sets the minimum angle.
Boolean value. Boolean returns true if the function succeeds, false if it fails.
Filter |
SetFilterParams (dCutAxisLocation, nAxis, dMaxIncrement, dMinIncrement, dMaxAngle, dMinAngle) |
---|---|
Distance |
,,dMaxIncrement |
BodyAxisDistance |
,nAxis, dMaxIncrement |
VariableDistance |
,,dMaxIncrement, dMinIncrement, dMaxAngle, dMinAngle |