SbLineGetClosestPoints 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: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public bool GetClosestPoints(
SbLine line2,
out SbVec3f ptOnThis,
out SbVec3f ptOnLine2
)
Public Function GetClosestPoints (
line2 As SbLine,
<OutAttribute> ByRef ptOnThis As SbVec3f,
<OutAttribute> ByRef ptOnLine2 As SbVec3f
) As Boolean
public:
bool GetClosestPoints(
SbLine line2,
[OutAttribute] SbVec3f% ptOnThis,
[OutAttribute] SbVec3f% ptOnLine2
)
member GetClosestPoints :
line2 : SbLine *
ptOnThis : SbVec3f byref *
ptOnLine2 : SbVec3f byref -> bool
Parameters
- line2
- Type: OIV.InventorSbLine
- ptOnThis
- Type: OIV.InventorSbVec3f
- ptOnLine2
- Type: OIV.InventorSbVec3f
Return Value
Type:
BooleanReturns
false if the lines are
parallel (results undefined), and returns
true otherwise.
See Also