The XAxisAlignedBox type exposes the following members.

Constructors

  NameDescription
XAxisAlignedBox
Creates new XAxisAlignedBox class instance.

Methods

  NameDescription
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.
EqualsOverloaded.
Finalize

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

(Inherited from Object.)
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.

(Inherited from Object.)
GetVertex
Returns coordinates of the vertex number index.
IncludeOverloaded.
IntersectOverloaded.
MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)
Normalize
Normalizes box to get the Minimum minimal point smaller that the Maximum maximal point.
ToString
Converts the object value to the text string.
(Overrides ValueType..::.ToString()()().)
TransformOverloaded.

Operators

  NameDescription
AdditionOverloaded.
BitwiseAndOverloaded.
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

  NameDescription
Empty
Empty XAxisAlignedBox axially aligned box.

Properties

  NameDescription
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.

See Also