DistanceProxy class

Constructors

DistanceProxy()

Properties

buffer List<Vector2>
final
hashCode int
The hash code for this object.
no setterinherited
radius double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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 nonexistent 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