Click or drag to resize
SbCylinderIntersect Method (SbLine, SbVec3f, SbVec3f)
Intersect line and cylinder, returning true if there is an intersection.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax
public bool Intersect(
	ref SbLine line,
	out SbVec3f enter,
	out SbVec3f exit
)

Parameters

line
Type: OIV.InventorSbLine
Line for testing intersection.
enter
Type: OIV.InventorSbVec3f
Output parameter to store the first intersection point if any.
exit
Type: OIV.InventorSbVec3f
Output parameter to store the last intersection point if any.

Return Value

Type: Boolean
true if an intersection is found, false otherwise.
See Also