Click or drag to resize
SbLineGetClosestPoints Method
Finds the two closest points between this line and line2, and loads them into ptOnThis and ptOnLine2.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2023.2.3.Release.c1a14b01e6296bf517288683d75c01bbe269b3dc
Syntax
public bool GetClosestPoints(
	SbLine line2,
	out SbVec3f ptOnThis,
	out SbVec3f ptOnLine2
)

Parameters

line2
Type: OIV.InventorSbLine
ptOnThis
Type: OIV.InventorSbVec3f
ptOnLine2
Type: OIV.InventorSbVec3f

Return Value

Type: Boolean
Returns false if the lines are parallel (results undefined), and returns true otherwise.
See Also