DistanceProxy class

Constructors

DistanceProxy()

Properties

buffer List<Vector2>
final
hashCode int
The hash code for this object. [...]
read-only, inherited
radius double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
vertices List<Vector2>
final

Methods

getSupport(Vector2 d) int
Get the supporting vertex index in the given direction.
getSupportVertex(Vector2 d) Vector2
Get the supporting vertex in the given direction.
getVertex(int index) Vector2
Get a vertex by index. Used by Distance.
getVertexCount() int
Get the vertex count.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
set(Shape shape, int index) → void
Initialize the proxy using the given shape. The shape must remain in scope while the proxy is in use.
toString() String
A string representation of this object. [...]
inherited

Operators

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