Constructor and Description |
---|
Cone(Point apex,
Point baseCenter,
double baseRad)
Construct a cone from the apex-point, the center of the base and the radius of the base.
|
Cone(Point apex,
Vector axis,
double angle,
double axisLength) |
Modifier and Type | Method and Description |
---|---|
Cone |
clone()
Make a deep clone this volume.
|
double |
getAxisLength() |
Point |
getBaseCenter() |
double |
getBaseRadius() |
Point |
getCenter()
Get the geometric center of the shape.
|
double |
getVolume()
Get the volume.
|
static void |
main(java.lang.String[] args) |
boolean |
overlaps(Volume vol)
Determine if this volume overlaps vol.
|
public double getAxisLength()
public Point getBaseCenter()
public double getBaseRadius()
public double getVolume()
Volume
public Point getCenter()
Shape
public boolean overlaps(Volume vol)
Volume
public static void main(java.lang.String[] args)