Java javax.media.j3d BoundingSphere fields, constructors, methods, implement or subclass

Example usage for Java javax.media.j3d BoundingSphere fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.media.j3d BoundingSphere.

The text is from its open source code.

Constructor

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.

Method

voidgetCenter(Point3d center)
Returns the position of this bounding sphere as a point.
ClassgetClass()
Returns the runtime class of this Object .
doublegetRadius()
Returns the radius of this bounding sphere as a double.
booleanintersect(Point3d point)
Test for intersection with a point.
booleanintersect(Bounds boundsObject)
Test for intersection with another bounds object.
booleanintersect(Bounds[] boundsObjects)
Test for intersection with another bounds object.
booleanintersect(CachedFrustum frustum)
Intersects this bounding sphere with preprocessed frustum.
booleanintersect(Vector4d[] planes)
This intersects this bounding sphere with 6 frustum plane equations
voidsetRadius(double r)
Sets the radius of this bounding sphere from a double.