maspack.geometry
Class Sphere
java.lang.Object
maspack.geometry.Sphere
public class Sphere
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sphere
public Sphere(double rad,
Point3d c)
getRadius
public double getRadius()
getCenter
public Point3d getCenter()
setCenter
public void setCenter(Point3d c)
setRadius
public void setRadius(double rad)
intersects
public boolean intersects(Sphere sphere)
containsPoint
public boolean containsPoint(Point3d pnt)