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

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.1.3.Release.5846ff9f642a32cef72279732a4051421aa4236a
Syntax
public void GetSpan(
	SbVec3d direction,
	out double dMin,
	out double dMax
)

Parameters

direction
Type: OIV.InventorSbVec3d
Span direction.
dMin
Type: SystemDouble
Minimum distance.
dMax
Type: SystemDouble
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