SbSphereIntersect Method (SbLine, SbVec3f) |
Intersect line and sphere, returning true if there is an intersection. The line
is treated as a ray.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public bool Intersect(
ref SbLine l,
out SbVec3f intersection
)
Public Function Intersect (
ByRef l As SbLine,
<OutAttribute> ByRef intersection As SbVec3f
) As Boolean
public:
bool Intersect(
SbLine% l,
[OutAttribute] SbVec3f% intersection
)
member Intersect :
l : SbLine byref *
intersection : SbVec3f byref -> bool
Parameters
- l
- Type: OIV.InventorSbLine
Intersection line. - intersection
- Type: OIV.InventorSbVec3f
Output parameter to store the intersection.
Return Value
Type:
Booleantrue if an intersection is found,
false otherwise.
See Also