View source
class AxisAlignedBoundingBox
package away3d.bounds
extends BoundingVolumeBase
Available on all platforms
AxisAlignedBoundingBox represents a bounding box volume that has its planes aligned to the local coordinate axes of the bounded object. This is useful for most meshes.
Constructor
Variables
Methods
closestPointToPoint(point:Vector3D, ?target:Vector3D):Vector3D
Finds the closest point on the bounding volume to another given point. This can be used for maximum error calculations for content within a given bound. @return
Parameters:
point | The point for which to find the closest point on the bounding volume |
|---|---|
target | An optional Vector3D to store the result to prevent creating a new object. |
fromExtremes(minX:Float, minY:Float, minZ:Float, maxX:Float, maxY:Float, maxZ:Float):Void
@inheritDoc