Click or drag to resize
SbSphereIntersect Method (SbLine, SbVec3f)
Intersect line and sphere, returning true if there is an intersection. The line is treated as a ray.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.2.Release.8aafb2feb11098c1e662b6a8d337b44fd757e6f1
Syntax
public bool Intersect(
	SbLine l,
	out SbVec3f intersection
)

Parameters

l
Type: OIV.InventorSbLine
Intersection line.
intersection
Type: OIV.InventorSbVec3f
Output parameter to store the intersection.

Return Value

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