|
static bool | GetNormalBetweenEdges (int axis, int edge0, int edge1, out Vector3 normal) |
| Returns normal between two cube edge of same direction More...
|
|
static MyOrientedBoundingBox | CreateFromBoundingBox (BoundingBox box) |
|
static bool | operator== (MyOrientedBoundingBox a, MyOrientedBoundingBox b) |
|
static bool | operator!= (MyOrientedBoundingBox a, MyOrientedBoundingBox b) |
|
static ContainmentType | Contains (ref BoundingBox boxA, ref MyOrientedBoundingBox oboxB) |
|
static ContainmentType | Contains (BoundingFrustum frustum, ref MyOrientedBoundingBox obox) |
|
static ContainmentType | Contains (ref BoundingSphere sphere, ref MyOrientedBoundingBox box) |
|
static ContainmentType | ContainsRelativeBox (ref Vector3 hA, ref Vector3 hB, ref Matrix mB) |
|
static MyOrientedBoundingBox | Create (BoundingBox boundingBox, Matrix matrix) |
|
Definition at line 8 of file MyOrientedBoundingBox.cs.
VRageMath.MyOrientedBoundingBox.MyOrientedBoundingBox |
( |
ref Matrix |
matrix | ) |
|
|
inline |
bool VRageMath.MyOrientedBoundingBox.Contains |
( |
ref Vector3 |
point | ) |
|
|
inline |
override bool VRageMath.MyOrientedBoundingBox.Equals |
( |
Object |
obj | ) |
|
|
inline |
BoundingBox VRageMath.MyOrientedBoundingBox.GetAABB |
( |
| ) |
|
|
inline |
void VRageMath.MyOrientedBoundingBox.GetCorners |
( |
Vector3[] |
corners, |
|
|
int |
startIndex |
|
) |
| |
|
inline |
override int VRageMath.MyOrientedBoundingBox.GetHashCode |
( |
| ) |
|
|
inline |
static bool VRageMath.MyOrientedBoundingBox.GetNormalBetweenEdges |
( |
int |
axis, |
|
|
int |
edge0, |
|
|
int |
edge1, |
|
|
out Vector3 |
normal |
|
) |
| |
|
inlinestatic |
Returns normal between two cube edge of same direction
- Parameters
-
axis | Edge direction axis (0 = X, 1 = Y, 2 = Z) |
edge0 | |
edge1 | |
normal | |
- Returns
- false if edges are not neighbors
Definition at line 153 of file MyOrientedBoundingBox.cs.
bool VRageMath.MyOrientedBoundingBox.Intersects |
( |
ref BoundingBox |
box | ) |
|
|
inline |
bool VRageMath.MyOrientedBoundingBox.Intersects |
( |
ref BoundingSphere |
sphere | ) |
|
|
inline |
float VRageMath.MyOrientedBoundingBox.Intersects |
( |
ref Ray |
ray | ) |
|
|
inline |
float VRageMath.MyOrientedBoundingBox.Intersects |
( |
ref Line |
line | ) |
|
|
inline |
override string VRageMath.MyOrientedBoundingBox.ToString |
( |
| ) |
|
|
inline |
void VRageMath.MyOrientedBoundingBox.Transform |
( |
Matrix |
matrix | ) |
|
|
inline |
Vector3 VRageMath.MyOrientedBoundingBox.Center |
const int VRageMath.MyOrientedBoundingBox.CornerCount = 8 |
readonly int [] VRageMath.MyOrientedBoundingBox.EndVertices |
|
static |
Initial value:= new int[]
{
1,
5,
4,
0,
2,
6,
7,
3,
3,
2,
6,
7,
}
Definition at line 33 of file MyOrientedBoundingBox.cs.
readonly int [] VRageMath.MyOrientedBoundingBox.EndXVertices |
|
static |
readonly int [] VRageMath.MyOrientedBoundingBox.EndYVertices |
|
static |
readonly int [] VRageMath.MyOrientedBoundingBox.EndZVertices |
|
static |
Vector3 VRageMath.MyOrientedBoundingBox.HalfExtent |
Quaternion VRageMath.MyOrientedBoundingBox.Orientation |
const float VRageMath.MyOrientedBoundingBox.RAY_EPSILON = 1e-20F |
readonly int [] VRageMath.MyOrientedBoundingBox.StartVertices |
|
static |
Initial value:= new int[]
{
0,
1,
5,
4,
3,
2,
6,
7,
0,
1,
5,
4,
}
Definition at line 17 of file MyOrientedBoundingBox.cs.
readonly int [] VRageMath.MyOrientedBoundingBox.StartXVertices |
|
static |
readonly int [] VRageMath.MyOrientedBoundingBox.StartYVertices |
|
static |
readonly int [] VRageMath.MyOrientedBoundingBox.StartZVertices |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBox.XNeighbourVectorsBack |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBox.XNeighbourVectorsForw |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBox.YNeighbourVectorsBack |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBox.YNeighbourVectorsForw |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBox.ZNeighbourVectorsBack |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBox.ZNeighbourVectorsForw |
|
static |
The documentation for this struct was generated from the following file: