Click or drag to resize
SbBox3sGetSpan Method
Finds the span of a box along a specified direction.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 10.3.0.0.Release.e0557e69f65c2f4b712d9d57d8855c64671533f0
Syntax
public void GetSpan(
	SbVec3f direction,
	out float dMin,
	out float dMax
)

Parameters

direction
Type: OIV.InventorSbVec3f
Span direction.
dMin
Type: SystemSingle
Minimum distance.
dMax
Type: SystemSingle
Maximum distance.
Remarks
The span is the total distance the box occupies along a given direction. The total distance is returned in the form of a minimum and maximum distance from the origin of each of the corners of the box along the given direction. The difference between these two values is the span.
See Also