Click or drag to resize

Distance Class

The Gilbert–Johnson–Keerthi distance algorithm that provides the distance between shapes.
Inheritance Hierarchy
SystemObject
  Internal.tainicom.Aether.Physics2D.CollisionDistance

Namespace:  Internal.tainicom.Aether.Physics2D.Collision
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static class Distance

The Distance type exposes the following members.

Methods
  NameDescription
Public methodStatic memberComputeDistance
Top
Fields
  NameDescription
Public fieldStatic memberGJKCalls
The number of calls made to the ComputeDistance() function. Note: This is only activated when Settings.EnableDiagnostics = true
Public fieldStatic memberGJKIters
The number of iterations that was made on the last call to ComputeDistance(). Note: This is only activated when Settings.EnableDiagnostics = true
Public fieldStatic memberGJKMaxIters
The maximum numer of iterations ever mae with calls to the CompteDistance() funtion. Note: This is only activated when Settings.EnableDiagnostics = true
Top
See Also