DVAabb class final

An axis-aligned box.

Constructors

DVAabb(DVVec3 min, DVVec3 max)
const
DVAabb.containing(List<DVVec3> points)
factory

Properties

center → DVVec3
no setter
corners → List<DVVec3>
The eight corners, in a fixed order.
no setter
hashCode → int
The hash code for this object.
no setteroverride
max → DVVec3
final
min → DVVec3
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

intersect(DVRay ray) → double?
The ray parameter where ray enters this box, 0 when it starts inside, or null when it misses. The slab method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override
transformed(DVMat4 matrix) → DVAabb
The smallest box containing this one after matrix -- conservative under rotation, which is why picking does not use it.
union(DVAabb other) → DVAabb

Operators

operator ==(Object other) → bool
The equality operator.
override