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

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax
public struct SbXfBox3d

The SbXfBox3d type exposes the following members.

Constructors
  NameDescription
Public methodSbXfBox3d(SbBox3d)
Constructor given an SbBox3d.
Public methodSbXfBox3d(SbVec3d, SbVec3d)
Constructor given corners.
Top
Methods
  NameDescription
Public methodEquals
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodExtendBy(SbBox3d)
Public methodExtendBy(SbBox3d)
Extends the box (if necessary) to contain the given box.
Public methodExtendBy(SbVec3d)
Public methodExtendBy(SbVec3d)
Extends the box (if necessary) to contain the given 3D point pt.
Public methodExtendBy(SbXfBox3d)
Public methodExtendBy(SbXfBox3d)
Extends the box (if necessary) to contain the given box.
Public methodGetBounds(SbVec3d, SbVec3d)
Gets the corners of the box.
Public methodGetBounds(Double, Double, Double, Double, Double, Double)
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(SbBox3d)
Tests if the bb box intersects this box.
Public methodIntersect(SbBox3d)
Tests if the bb box intersects this box.
Public methodIntersect(SbVec3d)
Tests if the pt point intersects this box.
Public methodIntersect(SbVec3d)
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(SbVec3d, SbVec3d)
Sets the bounds of the box.
Public methodSetBounds(SbVec3d, SbVec3d)
Sets the bounds of the box.
Public methodSetBounds(Double, Double, Double, Double, Double, Double)
Sets the bounds of the box.
Public methodSetTransform(SbMatrixd)
Transforms box by matrix, enlarging box to contain result.
Public methodSetTransform(SbMatrixd)
Transforms box by matrix, enlarging box to contain result.
Public methodToString
Converts this SbXfBox3d structure to a human readable string.
(Overrides ValueTypeToString.)
Public methodTransform(SbMatrixd)
Transforms the box by the given matrix.
Public methodTransform(SbMatrixd)
Transforms the box by the given matrix.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
The equality operator.
Public operatorStatic member(SbXfBox3d to SbBox3d)
Implicit cast operator from SbXfBox3d to SbBox3d.
Public operatorStatic memberInequality
The inequality operator.
Top
Properties
  NameDescription
Public propertyEmpty
Gets a flag indicating if the box is empty (degenerate).
Top
Remarks
A 3D box with an arbitrary transformation applied. This class is useful when a box will be transformed frequently; if an SbBox3f is 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 SbXfBox3d 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