Click or drag to resize
SbBox3f 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.2.1.Release.a9a2496f7968740d854af6689efcdf726f23261d
Syntax
public struct SbBox3f

The SbBox3f type exposes the following members.

Constructors
  NameDescription
Public methodSbBox3f(SbVec3f, SbVec3f)
Constructor for a 3D float box. min and max are the corners of the diagonal that define the box.
Public methodSbBox3f(Single, Single, Single, Single, Single, Single)
Constructor for a 3D float 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 methodStatic memberConvertFromT
Try to convert a structure to an SbVec2d value type.
Public methodEquals
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodExtendBy(SbBox3f)
Extends this box (if necessary) to contain the specified box.
Public methodExtendBy(SbBox3f)
Extends this box (if necessary) to contain the specified box.
Public methodExtendBy(SbVec3f)
Extends this box (if necessary) to contain the specified point.
Public methodExtendBy(SbVec3f)
Extends this box (if necessary) to contain the specified point.
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 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(Single, Single, Single)
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(SbBox3f)
Public methodIntersect(SbBox3f)
Tests if the bb box intersects this box.
Public methodIntersect(SbVec3f)
Public methodIntersect(SbVec3f)
Returns true if the specified 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(SbMatrix, Int32)
Public methodOutside(SbMatrix, Int32)
Tests if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.
Public methodSetBounds(SbVec3f, SbVec3f)
Sets the corners of the box.
Public methodSetBounds(SbVec3f, SbVec3f)
Sets the corners of the box.
Public methodSetBounds(Single, Single, Single, Single, Single, Single)
Sets the corners of the box.
Public methodToString
Converts this SbBox3f 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 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