Property | Type | Description | |
---|---|---|---|
A | Microsoft.Xna.Framework.Vector3 | ||
B | Microsoft.Xna.Framework.Vector3 | ||
C | Microsoft.Xna.Framework.Vector3 | ||
D | Microsoft.Xna.Framework.Vector3 | ||
State | SimplexState |
Method | Description | |
---|---|---|
AddNewSimplexPoint ( Microsoft.Xna.Framework.Vector3 &point ) : void |
Adds a new point to the simplex.
|
|
GetErrorTolerance ( ) : float |
Gets the error tolerance of the simplex.
|
|
GetPointClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : bool |
Gets the point on the simplex closest to the origin.
|
|
GetPointOnSegmentClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : void |
Gets the closest point on the segment to the origin.
|
|
GetPointOnTetrahedronClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : bool |
Gets the closest point on the tetrahedron to the origin.
|
|
GetPointOnTriangleClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : void |
Gets the closest point on the triangle to the origin.
|
Method | Description | |
---|---|---|
TryTetrahedronTriangle ( Microsoft.Xna.Framework.Vector3 &A, Microsoft.Xna.Framework.Vector3 &B, Microsoft.Xna.Framework.Vector3 &C, Microsoft.Xna.Framework.Vector3 &otherPoint, |
public AddNewSimplexPoint ( Microsoft.Xna.Framework.Vector3 &point ) : void | ||
point | Microsoft.Xna.Framework.Vector3 | Point to add. |
return | void |
public GetPointClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : bool | ||
point | Microsoft.Xna.Framework.Vector3 | Closest point to the origin. |
return | bool |
public GetPointOnSegmentClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : void | ||
point | Microsoft.Xna.Framework.Vector3 | Closest point. |
return | void |
public GetPointOnTetrahedronClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : bool | ||
point | Microsoft.Xna.Framework.Vector3 | Closest point. |
return | bool |
public GetPointOnTriangleClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : void | ||
point | Microsoft.Xna.Framework.Vector3 | Closest point. |
return | void |
public Vector3,Microsoft.Xna.Framework A | ||
return | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework B | ||
return | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework C | ||
return | Microsoft.Xna.Framework.Vector3 |
public Vector3,Microsoft.Xna.Framework D | ||
return | Microsoft.Xna.Framework.Vector3 |