SbCylinderIntersect Method (SbLine, SbVec3f) |
Intersect line and cylinder, returning true if there is an intersection.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntaxpublic bool Intersect(
SbLine line,
out SbVec3f intersection
)
Public Function Intersect (
line As SbLine,
<OutAttribute> ByRef intersection As SbVec3f
) As Boolean
public:
bool Intersect(
SbLine line,
[OutAttribute] SbVec3f% intersection
)
member Intersect :
line : SbLine *
intersection : SbVec3f byref -> bool
Parameters
- line
- Type: OIV.InventorSbLine
Intersecting line. - intersection
- Type: OIV.InventorSbVec3f
Output parameter to store the intersection point
Return Value
Type:
Booleantrue if an intersection is found,
false otherwise.
See Also