public class ShapeDescriptor
extends java.lang.Object
Constructor and Description |
---|
ShapeDescriptor(double radius,
int shells,
SphereApproximator sphere)
Creates a shape descriptor with the given information.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumPoints() |
int |
getNumSectors() |
int |
getNumShells() |
java.util.ArrayList<Vertex3D> |
getPoints() |
double |
getRadius() |
public ShapeDescriptor(double radius, int shells, SphereApproximator sphere)
radius
- the radius of the spherical descriptor.shells
- the number of shells to use.sphere
- describes the sectors of the descriptor.SphereApproximator
public java.util.ArrayList<Vertex3D> getPoints()
public double getRadius()
public int getNumShells()
public int getNumSectors()
public int getNumPoints()