de.javagl.swogl.geometry
Interface Box

All Known Implementing Classes:
DefaultBox

public interface Box

Interface describing a box


Method Summary
 void getCenter(javax.vecmath.Tuple3f center)
          Stores in the given tuple the center of this box
 void getMax(javax.vecmath.Tuple3f max)
          Stores in the given tuple the maximum point of this box
 float getMaxX()
          Returns the maximum x value of this box
 float getMaxY()
          Returns the maximum y value of this box
 float getMaxZ()
          Returns the maximum z value of this box
 void getMin(javax.vecmath.Tuple3f min)
          Stores in the given tuple the minimum point of this box
 float getMinX()
          Returns the minimum x value of this box
 float getMinY()
          Returns the minimum y value of this box
 float getMinZ()
          Returns the minimum z value of this box
 float getSizeX()
          Returns the size of this box in x direction
 float getSizeY()
          Returns the size of this box in y direction
 float getSizeZ()
          Returns the size of this box in z direction
 

Method Detail

getMinX

float getMinX()
Returns the minimum x value of this box

Returns:
The minimum x value of this box

getMinY

float getMinY()
Returns the minimum y value of this box

Returns:
The minimum y value of this box

getMinZ

float getMinZ()
Returns the minimum z value of this box

Returns:
The minimum z value of this box

getMaxX

float getMaxX()
Returns the maximum x value of this box

Returns:
The maximum x value of this box

getMaxY

float getMaxY()
Returns the maximum y value of this box

Returns:
The maximum y value of this box

getMaxZ

float getMaxZ()
Returns the maximum z value of this box

Returns:
The maximum z value of this box

getMin

void getMin(javax.vecmath.Tuple3f min)
Stores in the given tuple the minimum point of this box

Parameters:
min - The minimum point of this box

getMax

void getMax(javax.vecmath.Tuple3f max)
Stores in the given tuple the maximum point of this box

Parameters:
max - The maximum point of this box

getSizeX

float getSizeX()
Returns the size of this box in x direction

Returns:
The size of this box in x direction

getSizeY

float getSizeY()
Returns the size of this box in y direction

Returns:
The size of this box in y direction

getSizeZ

float getSizeZ()
Returns the size of this box in z direction

Returns:
The size of this box in z direction

getCenter

void getCenter(javax.vecmath.Tuple3f center)
Stores in the given tuple the center of this box

Parameters:
center - The center of this box