Struct Simplex
- Namespace
- Alis.Core.Physic.Collision
- Assembly
- Alis.dll
The simplex
internal struct SimplexInherited Members
Fields
Count
The count
internal int CountField Value
V
The
internal FixedArray3<SimplexVertex> VField Value
Methods
GetClosestPoint()
Gets the closest point
internal Vector2 GetClosestPoint()Returns
- Vector2
-
The vector
GetMetric()
Gets the metric
internal float GetMetric()Returns
- float
-
The float
GetSearchDirection()
Gets the search direction
internal Vector2 GetSearchDirection()Returns
- Vector2
-
The vector
GetWitnessPoints(out Vector2, out Vector2)
Gets the witness points using the specified p a
internal void GetWitnessPoints(out Vector2 pA, out Vector2 pB)Parameters
Exceptions
ReadCache(ref SimplexCache, ref DistanceProxy, ref Transform, ref DistanceProxy, ref Transform)
Reads the cache using the specified cache
internal void ReadCache(ref SimplexCache cache, ref DistanceProxy proxyA, ref Transform transformA, ref DistanceProxy proxyB, ref Transform transformB)Parameters
cacheSimplexCache-
The cache
proxyADistanceProxy-
The proxy
transformATransform-
The transform
proxyBDistanceProxy-
The proxy
transformBTransform-
The transform
Solve2()
Solves the 2
internal void Solve2()Solve3()
Solves the 3
internal void Solve3()WriteCache(ref SimplexCache)
Writes the cache using the specified cache
internal void WriteCache(ref SimplexCache cache)Parameters
cacheSimplexCache-
The cache