Finds the span of a box along a specified direction.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public void GetSpan(
SbVec3f direction,
out float dMin,
out float dMax
)
Public Sub GetSpan (
direction As SbVec3f,
<OutAttribute> ByRef dMin As Single,
<OutAttribute> ByRef dMax As Single
)
public:
void GetSpan(
SbVec3f direction,
[OutAttribute] float% dMin,
[OutAttribute] float% dMax
)
member GetSpan :
direction : SbVec3f *
dMin : float32 byref *
dMax : float32 byref -> unit
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