Example usage for Java javax.media.j3d BoundingSphere fields, constructors, methods, implement or subclass
The text is from its open source code.
BoundingSphere(Point3d center, double radius) Constructs and initializes a BoundingSphere from a center and radius. | |
BoundingSphere() Constructs and initializes a BoundingSphere with radius = 1 at 0 0 0. |
void | getCenter(Point3d center) Returns the position of this bounding sphere as a point. |
Class> | getClass() Returns the runtime class of this Object . |
double | getRadius() Returns the radius of this bounding sphere as a double. |
boolean | intersect(Point3d point) Test for intersection with a point. |
boolean | intersect(Bounds boundsObject) Test for intersection with another bounds object. |
boolean | intersect(Bounds[] boundsObjects) Test for intersection with another bounds object. |
boolean | intersect(CachedFrustum frustum) Intersects this bounding sphere with preprocessed frustum. |
boolean | intersect(Vector4d[] planes) This intersects this bounding sphere with 6 frustum plane equations |
void | setRadius(double r) Sets the radius of this bounding sphere from a double. |