AABB class

Constructors

AABB()
AABB.clone(AABB a)
AABB.fromValues(double a, double b, double c, double d)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
maximum Vec2D
read-only
minimum Vec2D
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
values Float32List
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited
operator [](int idx) double
operator []=(int idx, double v) → void

Static Methods

center(Vec2D out, AABB a) Vec2D
combine(AABB out, AABB a, AABB b) AABB
contains(AABB a, AABB b) bool
copy(AABB out, AABB a) AABB
extents(Vec2D out, AABB a) Vec2D
isValid(AABB a) bool
perimeter(AABB a) double
size(Vec2D out, AABB a) Vec2D
testOverlap(AABB a, AABB b) bool