BoundingBox Structure |
Namespace: ABB.Robotics.Math
public struct BoundingBox
The BoundingBox type exposes the following members.
Name | Description | |
---|---|---|
BoundingBox |
Creates a bounding box from min and max
|
Name | Description | |
---|---|---|
Center |
Returns the center point of this
| |
Contains(BoundingBox) |
Checks if box is contained by this box
| |
Contains(Vector3) |
Checks if a point is inside this box
| |
Corners |
Returns the eight corners of this.
| |
Diameter |
Returns the distance between min and max corners
| |
Distance(Vector3) |
Returns the distance between this BoundingBox and a point.
| |
Distance(BoundingBox, BoundingBox) |
Returns the distance between two bounding boxes.
| |
Equals |
Determines whether this instance and the specified object are equal
(Overrides ValueTypeEquals(Object).) | |
Expand |
Returns a BoundingBox expanded by an amount in all directions.
| |
GetHashCode |
Returns the hash code for this object.
(Overrides ValueTypeGetHashCode.) | |
GetType | (Inherited from Object.) | |
Intersect |
Returns the interection of this and a second BoundingBox | |
Intersects(Ray) |
Returns true if a ray intersects the bounding box.
| |
Intersects(BoundingBox, BoundingBox) |
Returns true if two bounding boxes intersect
| |
Intersects(BoundingBox, BoundingBox, Double) |
Returns true if two bounding boxes intersect.
| |
IsValid |
Checks if this is a valid bounding box.
| |
ToString |
Returns a string representation of this instance
(Overrides ValueTypeToString.) | |
TransformAffine |
Returns a bounding box that is the result of an affine transformation
| |
Volume |
Returns the volume of this
|
Name | Description | |
---|---|---|
Addition(BoundingBox, BoundingBox) |
Addition operator
| |
Addition(BoundingBox, Vector3) |
Addition operator
| |
Equality |
Equality operator
| |
Inequality |
Inequality operator
|
Name | Description | |
---|---|---|
Empty |
Empty (invalid) bounding box
| |
max |
min/max corners of the box.
| |
min |
min/max corners of the box.
|