Box Structure |
Namespace: NeoAxis
public struct Box
The Box type exposes the following members.
Name | Description | |
---|---|---|
Box(Bounds) |
Constructs a box with the given bounds.
| |
Box(Box) |
Constructs a box with another specified Box object.
| |
Box(BoxF) |
Constructs a box with another specified box of BoxF format.
| |
Box(Vector3) |
Constructs a box with the given center point.
| |
Box(Bounds, Vector3, Matrix3) |
Constructs a box with the given bounds, origin and axis.
| |
Box(Bounds, Vector3, Matrix3) |
Constructs a box with the given bounds, origin and axis.
| |
Box(Vector3, Vector3, Matrix3) |
Constructs a box with the given center, extents and axis.
|
Name | Description | |
---|---|---|
Add(Box, Vector3) |
Addition of a given box and a vector.
| |
Add(Box, Vector3, Box) |
Addition of a given box and a vector.
| |
Contains(Bounds) |
Determines whether the current instance of Box contains given bounds.
| |
Contains(Bounds) |
Determines whether the current instance of Box contains given bounds.
| |
Contains(Box) |
Determines whether the current instance of Box contains another instance of Box.
| |
Contains(Box) |
Determines whether the current instance of Box contains another instance of Box.
| |
Contains(Sphere) |
Determines whether the current instance of Box contains the given sphere.
| |
Contains(Sphere) |
Determines whether the current instance of Box contains the given sphere.
| |
Contains(Vector3) |
Determines whether the current instance of Box contains a given point.
| |
Contains(Vector3) |
Determines whether the current instance of Box contains a given point.
| |
Equals(Object) |
Determines whether the specified object is equal to the current instance of Box.
(Overrides ValueTypeEquals(Object).) | |
Equals(Box, Double) |
Determines whether the specified box is equal to the current instance of Box
with a given precision.
| |
Expand |
Expands the current instance of Box by a given value.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetPlaneDistance(Plane) |
Calculates the distance between the current instance of Box and the given plane.
| |
GetPlaneDistance(Plane) |
Calculates the distance between the current instance of Box and the given plane.
| |
GetPlaneSide(Plane) |
Determines from which side of the plane the box is on.
| |
GetPlaneSide(Plane) |
Determines from which side of the plane the box is on.
| |
GetPointDistance |
Calculates the distance between the current instance of Box and the given point.
| |
GetPointDistanceSquared |
Calculates the squared distance between the current instance of Box and the given point.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVolume |
Returns the volume of the current instance of Box.
| |
Intersects(Bounds) |
Determines whether the given bounds intersect the current instance of Box.
| |
Intersects(Bounds) |
Determines whether the given bounds intersect the current instance of Box.
| |
Intersects(Box) |
Determines whether another instance of Box intersects the current instance of Box.
| |
Intersects(Box) |
Determines whether another instance of Box intersects the current instance of Box.
| |
Intersects(Ray) |
Determines whether the given ray intersects the current instance of Box.
| |
Intersects(Ray, Double, Double) |
Determines whether the given ray intersects the current instance of Box.
| |
IsCleared |
Determines whether the box is not initialized.
| |
Multiply(Box, Matrix3) |
Multiplication of a given box and a matrix.
| |
Multiply(Box, Matrix4) |
Multiplication of a given box and a matrix.
| |
Multiply(Box, Matrix3, Box) |
Multiplication of a given box and a matrix.
| |
Multiply(Box, Matrix4, Box) |
Multiplication of a given box and a matrix.
| |
ToBounds |
Converts the current instance of Box into the equivalent Bounds structure.
| |
ToBounds(Bounds) |
Converts the current instance of Box into the equivalent Bounds structure.
| |
ToBoxF |
Converts the current instance of Box to the box of BoxF format.
| |
ToPoints |
Converts the current instance of Box into the box corners array and returns the result.
| |
ToPoints(Vector3) |
Converts the current instance of Box into the box corners array.
| |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
Addition |
Addition of a given box and a vector.
| |
Equality |
Determines whether two given boxes are equal.
| |
Inequality |
Determines whether two given boxes are unequal.
| |
Multiply(Box, Matrix3) |
Multiplication of a given box and a matrix.
| |
Multiply(Box, Matrix4) |
Multiplication of a given box and a matrix.
|
Name | Description | |
---|---|---|
Axis |
Axis of the box.
| |
Center |
The center of the box.
| |
Cleared |
Not initialized box.
| |
Extents |
The extents of the box.
| |
Zero |
The box with zero size.
|
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |