/** * Sets the bounding sphere of the frame with a given center x, y, z and * radius. * @param x the center X-coordinate. * @param y the center Y-coordinate. * @param z the center Z-coordinate. * @param r the radius. */ public void setWorldSphere(double x, double y, double z, double r) { setWorldSphere(new BoundingSphere(x,y,z,r)); }
/** * Sets the bounding sphere of the frame with a given center point and * radius. * @param p the center point. * @param r the radius. */ public void setWorldSphere(Point3 p, int r) { setWorldSphere(new BoundingSphere(p,r)); }
/** * Sets the bounding sphere of the frame. * @param xmin the minimum x coordinate. * @param ymin the minimum y coordinate. * @param zmin the minimum z coordinate. * @param xmax the maximum x coordinate. * @param ymax the maximum y coordinate. * @param zmax the maximum z coordinate. */ public void setWorldSphere( double xmin, double ymin, double zmin, double xmax, double ymax, double zmax) { setWorldSphere( new BoundingSphere( new BoundingBox(xmin,ymin,zmin,xmax,ymax,zmax))); }