Click or drag to resize
SbBox3d Structure
3D box which has planes parallel to the major axes and is specified by two points on a diagonal.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.1.0.Release.36362e8575cf2e38cd7d69b9ff35aeb6cc000cdb
Syntax
public struct SbBox3d

The SbBox3d type exposes the following members.

Constructors
  NameDescription
Public methodSbBox3d(SbVec3d, SbVec3d)
Constructor for a 3D double box. min and max are the corners of the diagonal that define the box.
Public methodSbBox3d(Double, Double, Double, Double, Double, Double)
Constructor for a 3D double box. xmin, ymin, zmin, xmax, ymax and zmax are the bounds of the box.
Top
Methods
  NameDescription
Public methodContains
Tests if the specified box is fully contained inside this box.
Public methodEquals
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodExtendBy(SbBox3d)
Extends this box (if necessary) to contain the specified box.
Public methodExtendBy(SbBox3d)
Extends this box (if necessary) to contain the specified box.
Public methodExtendBy(SbVec3d)
Extends this box (if necessary) to contain the specified point.
Public methodExtendBy(SbVec3d)
Extends this box (if necessary) to contain the specified point.
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 methodGetClosestPoint
Returns the closest point on the box to the given point. Returns the point on the center of the Z face if passed the center.
Public methodGetHashCode
Returns the hash code for the value of this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetMax Obsolete.
Use Max property instead.
Public methodGetMin Obsolete.
Use Min property instead.
Public methodGetOrigin
Gets box origin which is the same as the minimum corner of the box.
Public methodGetSize Obsolete.
Use Size property instead.
Public methodGetSize(Double, Double, Double)
Gets box size.
Public methodGetSpan
Finds the span of a box along a specified direction.
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 methodIntersection
Gets the intersection of the specified box with this box.
Public methodIsEmpty Obsolete.
Use Empty property instead.
Public methodMakeEmpty
Makes this box empty.
Public methodOutside(SbMatrixd, Int32)
Public methodOutside(SbMatrixd, Int32)
Tests if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.
Public methodSetBounds(SbVec3d, SbVec3d)
Sets the corners of the box.
Public methodSetBounds(SbVec3d, SbVec3d)
Sets the corners of the box.
Public methodSetBounds(Double, Double, Double, Double, Double, Double)
Sets the corners of the box.
Public methodToString
Converts this SbBox3d structure to a human readable string.
(Overrides ValueTypeToString.)
Public methodTransform(SbMatrixd)
Transforms box by matrix, enlarging box to contain result.
Public methodTransform(SbMatrixd)
Transforms box by matrix, enlarging box to contain result.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
The equality operator.
Public operatorStatic memberInequality
The inequality operator.
Top
Fields
  NameDescription
Public fieldStatic memberEmptyBox
Represents an empty SbBox3s. This field is constant.
Top
Properties
  NameDescription
Public propertyEmpty
Gets a flag indicating if the box is empty (degenerate).
Public propertyMax
Gets the maximum point of the box.
Public propertyMin
Gets the minimum point of the box.
Public propertySize
Gets box size.
Top
Remarks
This class is part of the standard Open Inventor datatype classes and is used as input and output to geometry operations (SoGetBoundingBoxAction).
See Also