DistanceProxy class

Constructors

DistanceProxy()

Properties

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

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. [...]
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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