AABB class
An axis-aligned bounding box.
Constructors
Properties
Methods
-
clone(
) → AABB -
combine(
AABB aabb1, AABB aabb2) → AABB - Set this AABB to the combined AABB of aabb1 and aabb2.
-
copy(
AABB aabb, [double m = 0]) → AABB - Copy all info in this AABB to another AABB
-
expandByPoint(
Vec3 pt) → void - Make this AABB larger by this point
-
expandByScalar(
double s) → void - Make this AABB larger by this value
-
fromArray(
List< double> array) → AABB - Create this AABB from an array
-
intersectsWithPoint(
double x, double y, double z) → bool - Get whether the AABB intersects with the point or not.
-
intersectTest(
AABB aabb) → bool -
Chack to see if
aabbintersects this.AABB -
intersectTestTwo(
AABB aabb) → bool -
makeEmpty(
) → void - Clear all info from this AABB
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
double minX, double maxX, double minY, double maxY, double minZ, double maxZ) → AABB - Set the AABB with new parameters
-
setFromPoints(
List< Vec3> arr) → void - Set the AABB from an array of vertices. From THREE.
-
surfaceArea(
) → double - Get the surface area.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited