Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > BasicScan Object : GetBoundaryConditionParams Method
Required Long variable that gets the number of crossings for this boundary condition. The scan would stop after the probe crosses (breaks) the Boundary Condition like a Sphere, Cylinder, Cone, or a Plane the given number of times.
Required Double variable that gets the radius of the boundary condition. This is used by the Spherical and Cylindrical Boundary Conditions.
Required Double variable that gets the half-angle of the cone-type boundary condition, or gets zero if the boundary condition is not of cone type.
GetBoundaryConditionParams Method
Description
Gets the boundary condition parameters
Syntax
Visual Basic
Public Function GetBoundaryConditionParams( _
   ByRef nCrossings As Long, _
   ByRef dRadius As Double, _
   ByRef dHalfAngle As Double _
) As Boolean
Parameters
nCrossings
Required Long variable that gets the number of crossings for this boundary condition. The scan would stop after the probe crosses (breaks) the Boundary Condition like a Sphere, Cylinder, Cone, or a Plane the given number of times.
dRadius
Required Double variable that gets the radius of the boundary condition. This is used by the Spherical and Cylindrical Boundary Conditions.
dHalfAngle
Required Double variable that gets the half-angle of the cone-type boundary condition, or gets zero if the boundary condition is not of cone type.
Return Type
Boolean value. This returns true if the function succeeds, false if it fails.
Remarks

 

Boundary Condition

GetBoundaryConditionParams(nCrossings, dRadius, dHalfAngle)

Plane nCrossings

Cone

nCrossings, ,dHalfAngle

Cylinder

nCrossings, dRadius

Sphere

nCrossings, dRadius

See Also