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.
no setterinherited
maximum Vec2D
no setter
minimum Vec2D
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Float32List
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
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