org.ode4j.ode
Interface DAABBC

All Known Implementing Classes:
DAABB

public interface DAABBC

Immutable interface for AABBs (Axis-aligned bounding boxes), as defined in DAABB.

Axes are numbered from 0 to 2.

Author:
Tilmann Zaeschke
See Also:
DAABB

Method Summary
 DVector3 getCenter()
           
 DVector3 getLengths()
           
 double getMax(int axis)
          Get maximum extension of axis
 double getMax0()
           
 double getMax1()
           
 double getMax2()
           
 double getMin(int axis)
          Get minimum extension of axis
 double getMin0()
           
 double getMin1()
           
 double getMin2()
           
 boolean isDisjoint(DAABBC aabb2)
           
 boolean isValid()
           
 double len0()
           
 double len1()
           
 double len2()
           
 

Method Detail

getMin0

double getMin0()

getMin1

double getMin1()

getMin2

double getMin2()

getMax0

double getMax0()

getMax1

double getMax1()

getMax2

double getMax2()

isDisjoint

boolean isDisjoint(DAABBC aabb2)

isValid

boolean isValid()

len0

double len0()

len1

double len1()

len2

double len2()

getMax

double getMax(int axis)
Get maximum extension of axis

Parameters:
axis - The axis (0, 1 or 2)

getMin

double getMin(int axis)
Get minimum extension of axis

Parameters:
axis - The axis (0, 1 or 2)

getLengths

DVector3 getLengths()
Returns:
the lengths of this AABB as a vector.

getCenter

DVector3 getCenter()
Returns:
the center of this AABB.