SbCylinderIntersect Method (SbLine, SbVec3f, SbVec3f) |
Intersect line and cylinder, returning true if there is an intersection.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public bool Intersect(
SbLine line,
out SbVec3f enter,
out SbVec3f exit
)
Public Function Intersect (
line As SbLine,
<OutAttribute> ByRef enter As SbVec3f,
<OutAttribute> ByRef exit As SbVec3f
) As Boolean
public:
bool Intersect(
SbLine line,
[OutAttribute] SbVec3f% enter,
[OutAttribute] SbVec3f% exit
)
member Intersect :
line : SbLine *
enter : SbVec3f byref *
exit : SbVec3f byref -> bool
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:
Booleantrue if an intersection is found,
false otherwise.
See Also