|
static bool | GetNormalBetweenEdges (int axis, int edge0, int edge1, out Vector3 normal) |
| Returns normal between two cube edge of same direction More...
|
|
static MyOrientedBoundingBoxD | CreateFromBoundingBox (BoundingBoxD box) |
|
static bool | operator== (MyOrientedBoundingBoxD a, MyOrientedBoundingBoxD b) |
|
static bool | operator!= (MyOrientedBoundingBoxD a, MyOrientedBoundingBoxD b) |
|
static ContainmentType | Contains (ref BoundingBox boxA, ref MyOrientedBoundingBox oboxB) |
|
static ContainmentType | Contains (BoundingFrustumD frustum, ref MyOrientedBoundingBoxD obox) |
|
static ContainmentType | Contains (ref BoundingSphere sphere, ref MyOrientedBoundingBox box) |
|
static ContainmentType | ContainsRelativeBox (ref Vector3D hA, ref Vector3D hB, ref MatrixD mB) |
|
static MyOrientedBoundingBoxD | Create (BoundingBoxD boundingBox, MatrixD matrix) |
|
Definition at line 8 of file MyOrientedBoundingBoxD.cs.
VRageMath.MyOrientedBoundingBoxD.MyOrientedBoundingBoxD |
( |
MatrixD |
matrix | ) |
|
|
inline |
VRageMath.MyOrientedBoundingBoxD.MyOrientedBoundingBoxD |
( |
BoundingBoxD |
box, |
|
|
MatrixD |
transform |
|
) |
| |
|
inline |
bool VRageMath.MyOrientedBoundingBoxD.Contains |
( |
ref Vector3 |
point | ) |
|
|
inline |
bool VRageMath.MyOrientedBoundingBoxD.Contains |
( |
ref Vector3D |
point | ) |
|
|
inline |
override bool VRageMath.MyOrientedBoundingBoxD.Equals |
( |
Object |
obj | ) |
|
|
inline |
void VRageMath.MyOrientedBoundingBoxD.GetCorners |
( |
Vector3D[] |
corners, |
|
|
int |
startIndex |
|
) |
| |
|
inline |
override int VRageMath.MyOrientedBoundingBoxD.GetHashCode |
( |
| ) |
|
|
inline |
static bool VRageMath.MyOrientedBoundingBoxD.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 MyOrientedBoundingBoxD.cs.
bool VRageMath.MyOrientedBoundingBoxD.Intersects |
( |
ref BoundingBox |
box | ) |
|
|
inline |
bool VRageMath.MyOrientedBoundingBoxD.Intersects |
( |
ref BoundingBoxD |
box | ) |
|
|
inline |
bool VRageMath.MyOrientedBoundingBoxD.Intersects |
( |
ref BoundingSphereD |
sphere | ) |
|
|
inline |
double VRageMath.MyOrientedBoundingBoxD.Intersects |
( |
ref RayD |
ray | ) |
|
|
inline |
double VRageMath.MyOrientedBoundingBoxD.Intersects |
( |
ref LineD |
line | ) |
|
|
inline |
override string VRageMath.MyOrientedBoundingBoxD.ToString |
( |
| ) |
|
|
inline |
void VRageMath.MyOrientedBoundingBoxD.Transform |
( |
MatrixD |
matrix | ) |
|
|
inline |
Vector3D VRageMath.MyOrientedBoundingBoxD.Center |
const int VRageMath.MyOrientedBoundingBoxD.CornerCount = 8 |
readonly int [] VRageMath.MyOrientedBoundingBoxD.EndVertices |
|
static |
Initial value:= new int[]
{
1,
5,
4,
0,
2,
6,
7,
3,
3,
2,
6,
7,
}
Definition at line 33 of file MyOrientedBoundingBoxD.cs.
readonly int [] VRageMath.MyOrientedBoundingBoxD.EndXVertices |
|
static |
readonly int [] VRageMath.MyOrientedBoundingBoxD.EndYVertices |
|
static |
readonly int [] VRageMath.MyOrientedBoundingBoxD.EndZVertices |
|
static |
Vector3D VRageMath.MyOrientedBoundingBoxD.HalfExtent |
Quaternion VRageMath.MyOrientedBoundingBoxD.Orientation |
const float VRageMath.MyOrientedBoundingBoxD.RAY_EPSILON = 1e-20F |
readonly int [] VRageMath.MyOrientedBoundingBoxD.StartVertices |
|
static |
Initial value:= new int[]
{
0,
1,
5,
4,
3,
2,
6,
7,
0,
1,
5,
4,
}
Definition at line 17 of file MyOrientedBoundingBoxD.cs.
readonly int [] VRageMath.MyOrientedBoundingBoxD.StartXVertices |
|
static |
readonly int [] VRageMath.MyOrientedBoundingBoxD.StartYVertices |
|
static |
readonly int [] VRageMath.MyOrientedBoundingBoxD.StartZVertices |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBoxD.XNeighbourVectorsBack |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBoxD.XNeighbourVectorsForw |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBoxD.YNeighbourVectorsBack |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBoxD.YNeighbourVectorsForw |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBoxD.ZNeighbourVectorsBack |
|
static |
readonly Vector3 [] VRageMath.MyOrientedBoundingBoxD.ZNeighbourVectorsForw |
|
static |
The documentation for this struct was generated from the following file: