Свойство | Type | Description | |
---|---|---|---|
A | Microsoft.Xna.Framework.Vector3 | ||
B | Microsoft.Xna.Framework.Vector3 | ||
C | Microsoft.Xna.Framework.Vector3 | ||
D | Microsoft.Xna.Framework.Vector3 | ||
State | SimplexState |
Méthode | Description | |
---|---|---|
AddNewSimplexPoint ( Microsoft.Xna.Framework.Vector3 &point, Microsoft.Xna.Framework.Vector3 &hitLocation, |
Adds a new point to the simplex.
|
|
GetErrorTolerance ( Microsoft.Xna.Framework.Vector3 &rayOrigin ) : float |
Gets the error tolerance for the simplex.
|
|
GetPointClosestToOrigin ( |
Gets the point on the simplex that is closest to the origin.
|
|
GetPointOnSegmentClosestToOrigin ( |
Finds the point on the segment to the origin.
|
|
GetPointOnTetrahedronClosestToOrigin ( |
Gets the point closest to the origin on the tetrahedron.
|
|
GetPointOnTriangleClosestToOrigin ( |
Gets the point on the triangle that is closest to the origin.
|
Méthode | Description | |
---|---|---|
TryTetrahedronTriangle ( Microsoft.Xna.Framework.Vector3 &A, Microsoft.Xna.Framework.Vector3 &B, Microsoft.Xna.Framework.Vector3 &C, Microsoft.Xna.Framework.Vector3 &simplexA, Microsoft.Xna.Framework.Vector3 &simplexB, Microsoft.Xna.Framework.Vector3 &simplexC, Microsoft.Xna.Framework.Vector3 &otherPoint, |
public AddNewSimplexPoint ( Microsoft.Xna.Framework.Vector3 &point, Microsoft.Xna.Framework.Vector3 &hitLocation, |
||
point | Microsoft.Xna.Framework.Vector3 | Point to add. |
hitLocation | Microsoft.Xna.Framework.Vector3 | Current ray hit location. |
shiftedSimplex | Simplex shifted with the hit location. | |
Résultat | void |
public GetErrorTolerance ( Microsoft.Xna.Framework.Vector3 &rayOrigin ) : float | ||
rayOrigin | Microsoft.Xna.Framework.Vector3 | Origin of the ray. |
Résultat | float |
public GetPointClosestToOrigin ( |
||
simplex | Simplex to test. | |
point | Microsoft.Xna.Framework.Vector3 | Closest point on the simplex. |
Résultat | bool |
public GetPointOnSegmentClosestToOrigin ( |
||
simplex | Simplex to test. | |
point | Microsoft.Xna.Framework.Vector3 | Closest point. |
Résultat | void |
public GetPointOnTetrahedronClosestToOrigin ( |
||
simplex | Simplex to test. | |
point | Microsoft.Xna.Framework.Vector3 | Closest point. |
Résultat | bool |
public GetPointOnTriangleClosestToOrigin ( |
||
simplex | Simplex to test. | |
point | Microsoft.Xna.Framework.Vector3 | Closest point to origin. |
Résultat | void |
public Vector3,Microsoft.Xna.Framework A | ||
Résultat | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework B | ||
Résultat | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework C | ||
Résultat | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework D | ||
Résultat | Microsoft.Xna.Framework.Vector3 |