Package arc.math.geom
Class Sphere
java.lang.Object
arc.math.geom.Sphere
Encapsulates a 3D sphere with a center and a radius
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
center
the center of the sphere -
radius
public float radiusthe radius of the sphere
-
-
Constructor Details
-
Sphere
Constructs a sphere with the given center and radius- Parameters:
center
- The centerradius
- The radius
-
-
Method Details