Click or drag to resize
SbLinedGetClosestPoints 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: 10.3.0.0.Release.e0557e69f65c2f4b712d9d57d8855c64671533f0
Syntax
public bool GetClosestPoints(
	SbLined line2,
	out SbVec3d ptOnThis,
	out SbVec3d ptOnLine2
)

Parameters

line2
Type: OIV.InventorSbLined
ptOnThis
Type: OIV.InventorSbVec3d
ptOnLine2
Type: OIV.InventorSbVec3d

Return Value

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