The XAxisAlignedBox type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XAxisAlignedBox |
Creates new XAxisAlignedBox class instance.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Creates new XAxisAlignedBox instance by resizing the box box1 so the box box2 will become part of the box.
| |
| BitwiseAnd |
Tests whether the box1 and box2 have an intersection.
| |
| Clear |
Reset the box to be empty.
| |
| Equals | Overloaded. | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| FromMesh |
Creates new XAxisAlignedBox instance from the DirectX layer BaseMesh mesh.
| |
| GetCollisionDistance |
Returns the collision distance with the box box.
| |
| GetHashCode |
Gets the hash code for this instance.
(Overrides ValueType..::.GetHashCode()()().) | |
| GetPoint |
Calculates the box coordinates from the given XRelativePoint relative point.
| |
| GetType | Gets the Type of the current instance. | |
| GetVertex |
Returns coordinates of the vertex number index.
| |
| Include | Overloaded. | |
| Intersect | Overloaded. | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| Normalize | ||
| ToString |
Converts the object value to the text string.
(Overrides ValueType..::.ToString()()().) | |
| Transform | Overloaded. |
Operators
| Name | Description | |
|---|---|---|
| Addition | Overloaded. | |
| BitwiseAnd | Overloaded. | |
| Equality |
Tests whether the instance a and the instance b are equal.
| |
| Inequality |
Tests whether the instance a and the instance b are not equal.
|
Fields
| Name | Description | |
|---|---|---|
| Empty |
Empty XAxisAlignedBox axially aligned box.
|
Properties
| Name | Description | |
|---|---|---|
| Center |
Gets the center coordinates of the box.
| |
| IsEmpty |
Indicates whether the XAxisAlignedBox instance is empty.
| |
| Maximum |
Gets the box maximum coordinates.
| |
| Minimum |
Gets the box minimum coordinates.
| |
| Radius |
Gets the box radius.
| |
| RadiusSq |
Gets the box squared radius.
| |
| Size |
Gets the box size.
|