|
Space Engineers
|
Defines a frustum and helps determine whether forms intersect with it. More...
Public Member Functions | |
| BoundingFrustumD () | |
| BoundingFrustumD (MatrixD value) | |
| Creates a new instance of BoundingFrustumD. More... | |
| Vector3D[] | GetCorners () |
| Gets an array of points that make up the corners of the BoundingFrustumD. ALLOCATION! More... | |
| void | GetCorners (Vector3D[] corners) |
| Gets an array of points that make up the corners of the BoundingFrustumD. More... | |
| unsafe void | GetCornersUnsafe (Vector3D *corners) |
| Gets the array of points that make up the corners of the BoundingBox. More... | |
| bool | Equals (BoundingFrustumD other) |
| Determines whether the specified BoundingFrustumD is equal to the current BoundingFrustumD. More... | |
| override bool | Equals (object obj) |
| Determines whether the specified Object is equal to the BoundingFrustumD. More... | |
| override int | GetHashCode () |
| Gets the hash code for this instance. More... | |
| override string | ToString () |
| Returns a String that represents the current BoundingFrustumD. More... | |
| bool | Intersects (BoundingBoxD box) |
| Checks whether the current BoundingFrustumD intersects the specified BoundingBoxD. More... | |
| void | Intersects (ref BoundingBoxD box, out bool result) |
| Checks whether the current BoundingFrustumD intersects a BoundingBoxD. More... | |
| bool | Intersects (BoundingFrustumD frustum) |
| Checks whether the current BoundingFrustumD intersects the specified BoundingFrustumD. More... | |
| PlaneIntersectionType | Intersects (PlaneD plane) |
| Checks whether the current BoundingFrustumD intersects the specified Plane. More... | |
| void | Intersects (ref PlaneD plane, out PlaneIntersectionType result) |
| Checks whether the current BoundingFrustumD intersects a Plane. More... | |
| double | Intersects (RayD ray) |
| Checks whether the current BoundingFrustumD intersects the specified Ray. More... | |
| void | Intersects (ref RayD ray, out double?result) |
| Checks whether the current BoundingFrustumD intersects a Ray. More... | |
| bool | Intersects (BoundingSphereD sphere) |
| Checks whether the current BoundingFrustumD intersects the specified BoundingSphere. More... | |
| void | Intersects (ref BoundingSphereD sphere, out bool result) |
| Checks whether the current BoundingFrustumD intersects a BoundingSphere. More... | |
| ContainmentType | Contains (BoundingBoxD box) |
| Checks whether the current BoundingFrustumD contains the specified BoundingBoxD. More... | |
| void | Contains (ref BoundingBoxD box, out ContainmentType result) |
| Checks whether the current BoundingFrustumD contains the specified BoundingBoxD. More... | |
| ContainmentType | Contains (BoundingFrustumD frustum) |
| Checks whether the current BoundingFrustumD contains the specified BoundingFrustumD. More... | |
| ContainmentType | Contains (Vector3D point) |
| Checks whether the current BoundingFrustumD contains the specified point. More... | |
| void | Contains (ref Vector3D point, out ContainmentType result) |
| Checks whether the current BoundingFrustumD contains the specified point. More... | |
| ContainmentType | Contains (BoundingSphereD sphere) |
| Checks whether the current BoundingFrustumD contains the specified BoundingSphere. More... | |
| void | Contains (ref BoundingSphereD sphere, out ContainmentType result) |
| Checks whether the current BoundingFrustumD contains the specified BoundingSphere. More... | |
Static Public Member Functions | |
| static bool | operator== (BoundingFrustumD a, BoundingFrustumD b) |
| Determines whether two instances of BoundingFrustumD are equal. More... | |
| static bool | operator!= (BoundingFrustumD a, BoundingFrustumD b) |
| Determines whether two instances of BoundingFrustumD are not equal. More... | |
Public Attributes | |
| const int | CornerCount = 8 |
| Specifies the total number of corners (8) in the BoundingFrustumD. More... | |
Properties | |
| PlaneD | this[int index] [get] |
| PlaneD | Near [get] |
| Gets the near plane of the BoundingFrustumD. More... | |
| PlaneD | Far [get] |
| Gets the far plane of the BoundingFrustumD. More... | |
| PlaneD | Left [get] |
| Gets the left plane of the BoundingFrustumD. More... | |
| PlaneD | Right [get] |
| Gets the right plane of the BoundingFrustumD. More... | |
| PlaneD | Top [get] |
| Gets the top plane of the BoundingFrustumD. More... | |
| PlaneD | Bottom [get] |
| Gets the bottom plane of the BoundingFrustumD. More... | |
| MatrixD | Matrix [get, set] |
| Gets or sets the Matrix that describes this bounding frustum. More... | |
Defines a frustum and helps determine whether forms intersect with it.
Definition at line 10 of file BoundingFrustumD.cs.
|
inline |
Definition at line 117 of file BoundingFrustumD.cs.
|
inline |
Creates a new instance of BoundingFrustumD.
| value | Combined matrix that usually takes view × projection matrix. |
Definition at line 125 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD contains the specified BoundingBoxD.
| box | The BoundingBoxD to check against the current BoundingFrustumD. |
Definition at line 550 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD contains the specified BoundingBoxD.
| box | The BoundingBoxD to test for overlap. |
| result | [OutAttribute] Enumeration indicating the extent of overlap. |
Definition at line 571 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD contains the specified BoundingFrustumD.
| frustum | The BoundingFrustumD to check against the current BoundingFrustumD. |
Definition at line 593 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD contains the specified point.
| point | The point to check against the current BoundingFrustumD. |
Definition at line 617 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD contains the specified point.
| point | The point to test for overlap. |
| result | [OutAttribute] Enumeration indicating the extent of overlap. |
Definition at line 631 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD contains the specified BoundingSphere.
| sphere | The BoundingSphere to check against the current BoundingFrustumD. |
Definition at line 648 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD contains the specified BoundingSphere.
| sphere | The BoundingSphere to test for overlap. |
| result | [OutAttribute] Enumeration indicating the extent of overlap. |
Definition at line 668 of file BoundingFrustumD.cs.
|
inline |
Determines whether the specified BoundingFrustumD is equal to the current BoundingFrustumD.
| other | The BoundingFrustumD to compare with the current BoundingFrustumD. |
Definition at line 186 of file BoundingFrustumD.cs.
|
inline |
Determines whether the specified Object is equal to the BoundingFrustumD.
| obj | The Object to compare with the current BoundingFrustumD. |
Definition at line 198 of file BoundingFrustumD.cs.
|
inline |
Gets an array of points that make up the corners of the BoundingFrustumD. ALLOCATION!
Definition at line 151 of file BoundingFrustumD.cs.
|
inline |
Gets an array of points that make up the corners of the BoundingFrustumD.
| corners | An existing array of at least 8 Vector3D points where the corners of the BoundingFrustumD are written. |
Definition at line 160 of file BoundingFrustumD.cs.
|
inline |
Gets the array of points that make up the corners of the BoundingBox.
| corners | An existing array of at least 8 Vector3 points where the corners of the BoundingBox are written. |
Definition at line 170 of file BoundingFrustumD.cs.
|
inline |
Gets the hash code for this instance.
Definition at line 210 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects the specified BoundingBoxD.
| box | The BoundingBoxD to check for intersection. |
Definition at line 289 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects a BoundingBoxD.
| box | The BoundingBoxD to check for intersection with. |
| result | [OutAttribute] true if the BoundingFrustumD and BoundingBoxD intersect; false otherwise. |
Definition at line 300 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects the specified BoundingFrustumD.
| frustum | The BoundingFrustumD to check for intersection. |
Definition at line 342 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects the specified Plane.
| plane | The Plane to check for intersection. |
Definition at line 385 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects a Plane.
| plane | The Plane to check for intersection with. |
| result | [OutAttribute] An enumeration indicating whether the BoundingFrustumD intersects the Plane. |
Definition at line 406 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects the specified Ray.
| ray | The Ray to check for intersection. |
Definition at line 430 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects a Ray.
| ray | The Ray to check for intersection with. |
| result | [OutAttribute] Distance at which the ray intersects the BoundingFrustumD or null if there is no intersection. |
Definition at line 441 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects the specified BoundingSphere.
| sphere | The BoundingSphere to check for intersection. |
Definition at line 497 of file BoundingFrustumD.cs.
|
inline |
Checks whether the current BoundingFrustumD intersects a BoundingSphere.
| sphere | The BoundingSphere to check for intersection with. |
| result | [OutAttribute] true if the BoundingFrustumD and BoundingSphere intersect; false otherwise. |
Definition at line 508 of file BoundingFrustumD.cs.
|
inlinestatic |
Determines whether two instances of BoundingFrustumD are not equal.
| a | The BoundingFrustumD to the left of the inequality operator. |
| b | The BoundingFrustumD to the right of the inequality operator. |
Definition at line 143 of file BoundingFrustumD.cs.
|
inlinestatic |
Determines whether two instances of BoundingFrustumD are equal.
| a | The BoundingFrustumD to the left of the equality operator. |
| b | The BoundingFrustumD to the right of the equality operator. |
Definition at line 134 of file BoundingFrustumD.cs.
|
inline |
Returns a String that represents the current BoundingFrustumD.
Definition at line 218 of file BoundingFrustumD.cs.
| const int VRageMath.BoundingFrustumD.CornerCount = 8 |
Specifies the total number of corners (8) in the BoundingFrustumD.
Definition at line 17 of file BoundingFrustumD.cs.
|
get |
Gets the bottom plane of the BoundingFrustumD.
Definition at line 95 of file BoundingFrustumD.cs.
|
get |
Gets the far plane of the BoundingFrustumD.
Definition at line 51 of file BoundingFrustumD.cs.
|
get |
Gets the left plane of the BoundingFrustumD.
Definition at line 62 of file BoundingFrustumD.cs.
|
getset |
Gets or sets the Matrix that describes this bounding frustum.
Definition at line 106 of file BoundingFrustumD.cs.
|
get |
Gets the near plane of the BoundingFrustumD.
Definition at line 40 of file BoundingFrustumD.cs.
|
get |
Gets the right plane of the BoundingFrustumD.
Definition at line 73 of file BoundingFrustumD.cs.
|
get |
Definition at line 29 of file BoundingFrustumD.cs.
|
get |
Gets the top plane of the BoundingFrustumD.
Definition at line 84 of file BoundingFrustumD.cs.
1.8.8