Click or drag to resize
SbXfBox3f Structure
3D box with an associated transformation matrix.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
Syntax
public struct SbXfBox3f

The SbXfBox3f type exposes the following members.

Constructors
  NameDescription
Public methodSbXfBox3f(SbBox3f)
Constructor given a SbBox3f box.
Public methodSbXfBox3f(SbVec3f, SbVec3f)
Constructor given box corners.
Top
Methods
  NameDescription
Public methodEquals
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodExtendBy(SbBox3f)
Public methodExtendBy(SbBox3f)
Extends the box (if necessary) to contain the given box bb.
Public methodExtendBy(SbVec3f)
Public methodExtendBy(SbVec3f)
Extends the box (if necessary) to contain the given 3D point pt.
Public methodExtendBy(SbXfBox3f)
Extends the box (if necessary) to contain the given box bb.
Public methodExtendBy(SbXfBox3f)
Extends the box (if necessary) to contain the given box bb.
Public methodGetBounds(SbVec3f, SbVec3f)
Gets the corners of the box.
Public methodGetBounds(Single, Single, Single, Single, Single, Single)
Gets the corners of the box.
Public methodGetCenter
Gets the center of the box.
Public methodGetHashCode
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetInverse
Gets the inverse of the transformation on the box.
Public methodGetOrigin
Gets box origin which is the same as the minimum corner of the box.
Public methodGetSize
Gets box size.
Public methodGetSpan
Finds the span of a box along a specified direction.
Public methodGetTransform
Gets the transformation on the box.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVolume
Computes the volume of the box.
Public methodHasVolume
Tests if the box defines a volume (not degenerated).
Public methodIntersect(SbBox3f)
Public methodIntersect(SbBox3f)
Tests if the bb box intersects this box.
Public methodIntersect(SbVec3f)
Tests if the pt point intersects this box.
Public methodIntersect(SbVec3f)
Tests if the pt point intersects this box.
Public methodIsEmpty Obsolete.
Use Empty property instead.
Public methodMakeEmpty
Makes this box empty.
Public methodProject
Projects an SbXfBox3d to an SbBox3d.
Public methodSetBounds(SbVec3f, SbVec3f)
Sets the bounds of the box.
Public methodSetBounds(SbVec3f, SbVec3f)
Sets the bounds of the box.
Public methodSetBounds(Single, Single, Single, Single, Single, Single)
Sets the bounds of the box.
Public methodSetTransform(SbMatrix)
Transforms box by matrix, enlarging box to contain result.
Public methodSetTransform(SbMatrix)
Transforms box by matrix, enlarging box to contain result.
Public methodToString
Converts this SbXfBox3f structure to a human readable string.
(Overrides ValueTypeToString.)
Public methodTransform(SbMatrix)
Transforms box by matrix, enlarging box to contain result.
Public methodTransform(SbMatrix)
Transforms box by matrix, enlarging box to contain result.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
The equality operator.
Public operatorStatic member(SbXfBox3f to SbBox3f)
Implicit cast operator from SbXfBox3f to SbBox3f.
Public operatorStatic memberInequality
The inequality operator.
Top
Properties
  NameDescription
Public propertyEmpty
Gets a flag indicating if the box is empty (degenerate).
Top
Remarks
This class is useful when a box will be transformed frequently; if an SbBox3fis used for this purpose it will expand each time it is transformed in order to keep itself axis-aligned. Transformations can be accumulated on an SbXfBox3f without expanding the box, and after all transformations have been done, the box can be expanded to an axis-aligned box if necessary.
See Also