|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.ray.intersection.BoundingSphere
public class BoundingSphere
Constructor Summary | |
---|---|
BoundingSphere(float radius,
Point3f translation)
|
Method Summary | |
---|---|
float |
getMaxX()
|
float |
getMaxY()
|
float |
getMaxZ()
|
float |
getMinX()
|
float |
getMinY()
|
float |
getMinZ()
|
boolean |
hasIntersection(Ray ray)
|
boolean |
isInsideBox(Vector3f minValues,
Vector3f maxValues)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoundingSphere(float radius, Point3f translation)
Method Detail |
---|
public float getMaxX()
getMaxX
in interface BoundingVolume
public float getMaxY()
getMaxY
in interface BoundingVolume
public float getMaxZ()
getMaxZ
in interface BoundingVolume
public float getMinX()
getMinX
in interface BoundingVolume
public float getMinY()
getMinY
in interface BoundingVolume
public float getMinZ()
getMinZ
in interface BoundingVolume
public boolean hasIntersection(Ray ray)
hasIntersection
in interface BoundingVolume
public boolean isInsideBox(Vector3f minValues, Vector3f maxValues)
isInsideBox
in interface BoundingVolume
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |