SbLinedGetClosestPoints Method |
Finds the two closest points between this line and line2, and loads them
into ptOnThis and ptOnLine2.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 9.9.13.0.Release.1490cabe7ee249bd6cc986579d4e6231040bc6f5
Syntaxpublic bool GetClosestPoints(
SbLined line2,
out SbVec3d ptOnThis,
out SbVec3d ptOnLine2
)
Public Function GetClosestPoints (
line2 As SbLined,
<OutAttribute> ByRef ptOnThis As SbVec3d,
<OutAttribute> ByRef ptOnLine2 As SbVec3d
) As Boolean
public:
bool GetClosestPoints(
SbLined line2,
[OutAttribute] SbVec3d% ptOnThis,
[OutAttribute] SbVec3d% ptOnLine2
)
member GetClosestPoints :
line2 : SbLined *
ptOnThis : SbVec3d byref *
ptOnLine2 : SbVec3d byref -> bool
Parameters
- line2
- Type: OIV.InventorSbLined
- ptOnThis
- Type: OIV.InventorSbVec3d
- ptOnLine2
- Type: OIV.InventorSbVec3d
Return Value
Type:
BooleanReturns
false if the lines are
parallel (results undefined), and returns
true otherwise.
See Also