Public Member Functions | |
BSphere (float r, Vector3f center) | |
float | getArea () |
Vector3f | getCenter () |
float | getR () |
float | getVolume () |
Private Attributes | |
final Vector3f | center |
final float | r |
Class which represents a bounding sphere by center and radius.
Definition at line 18 of file BSphere.java.
edu.tum.cs.vis.model.util.BSphere.BSphere | ( | float | r, |
Vector3f | center | ||
) | [inline] |
Create new bounding sphere with radius r
and center center
r | radius of bounding sphere |
center | center of bounding sphere |
Definition at line 36 of file BSphere.java.
float edu.tum.cs.vis.model.util.BSphere.getArea | ( | ) | [inline] |
Vector3f edu.tum.cs.vis.model.util.BSphere.getCenter | ( | ) | [inline] |
float edu.tum.cs.vis.model.util.BSphere.getR | ( | ) | [inline] |
float edu.tum.cs.vis.model.util.BSphere.getVolume | ( | ) | [inline] |
final Vector3f edu.tum.cs.vis.model.util.BSphere.center [private] |
center
Definition at line 26 of file BSphere.java.
final float edu.tum.cs.vis.model.util.BSphere.r [private] |
radius
Definition at line 22 of file BSphere.java.