SAPAxis class

A projection axis for sweep and prune broad-phase.

Constructors

SAPAxis()

Properties

bufferSize int
getter/setter pair
elements Map<int, SAPElement?>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
numElements int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stack List<double>
getter/setter pair

Methods

addElements(SAPElement min, SAPElement max) → void
add new min and max elements to the sweep and prune axis
calculateTestCount() int
Gat test count of all the elements
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeElements(SAPElement min, SAPElement max) → void
remove min and max elements to the sweep and prune axis
sort() → void
Sort the elements in the sweep and prune
toString() String
A string representation of this object.
inherited

Operators

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