Click or drag to resize
SbSphereIntersect Method (SbLine, SbVec3f, 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: 9.9.13.0.Release.1490cabe7ee249bd6cc986579d4e6231040bc6f5
Syntax
public bool Intersect(
	SbLine l,
	out SbVec3f enter,
	out SbVec3f exit
)

Parameters

l
Type: OIV.InventorSbLine
Intersection line.
enter
Type: OIV.InventorSbVec3f
Output parameter to store the first intersection found.
exit
Type: OIV.InventorSbVec3f
Output parameter to store the last intersection found.

Return Value

Type: Boolean
true if intersect, false otherwise.
See Also