Distance class

Constructors

Distance()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compute(DistanceOutput output, SimplexCache cache, DistanceInput input) → void
Compute the closest points between two shapes. Supports any combination of: CircleShape and PolygonShape. The simplex cache is input/output. On the first call set SimplexCache.count to zero.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

gjkCalls int
getter/setter pair
gjkIterations int
getter/setter pair
gjkMaxIterations int
getter/setter pair

Constants

maxIterations → const int