Click or drag to resize
BoundingBox Structure
Axis-aligned bounding box

Namespace:  ABB.Robotics.Math
Assembly:  ABB.Robotics.Math (in ABB.Robotics.Math.dll) Version: 7.0.8747.636
Syntax
C#
public struct BoundingBox

The BoundingBox type exposes the following members.

Constructors
  NameDescription
Public methodBoundingBox
Creates a bounding box from min and max
Top
Methods
  NameDescription
Public methodCenter
Returns the center point of this
Public methodContains(BoundingBox)
Checks if box is contained by this box
Public methodContains(Vector3)
Checks if a point is inside this box
Public methodCorners
Returns the eight corners of this.
Public methodDiameter
Returns the distance between min and max corners
Public methodDistance(Vector3)
Returns the distance between this BoundingBox and a point.
Public methodStatic memberDistance(BoundingBox, BoundingBox)
Returns the distance between two bounding boxes.
Public methodEquals
Determines whether this instance and the specified object are equal
(Overrides ValueTypeEquals(Object).)
Public methodExpand
Returns a BoundingBox expanded by an amount in all directions.
Public methodGetHashCode
Returns the hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodIntersect
Returns the interection of this and a second BoundingBox
Public methodIntersects(Ray)
Returns true if a ray intersects the bounding box.
Public methodStatic memberIntersects(BoundingBox, BoundingBox)
Returns true if two bounding boxes intersect
Public methodStatic memberIntersects(BoundingBox, BoundingBox, Double)
Returns true if two bounding boxes intersect.
Public methodIsValid
Checks if this is a valid bounding box.
Public methodToString
Returns a string representation of this instance
(Overrides ValueTypeToString.)
Public methodTransformAffine
Returns a bounding box that is the result of an affine transformation
Public methodVolume
Returns the volume of this
Top
Operators
  NameDescription
Public operatorStatic memberAddition(BoundingBox, BoundingBox)
Addition operator
Public operatorStatic memberAddition(BoundingBox, Vector3)
Addition operator
Public operatorStatic memberEquality
Equality operator
Public operatorStatic memberInequality
Inequality operator
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
Empty (invalid) bounding box
Public fieldmax
min/max corners of the box.
Public fieldmin
min/max corners of the box.
Top
Version Information

Supported in: 1.0
See Also