|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dolben.poly.Polyhedron
org.dolben.poly.Cuboid
public class Cuboid
A cuboid.
| Field Summary |
|---|
| Fields inherited from class org.dolben.poly.Polyhedron |
|---|
face, vertex |
| Constructor Summary | |
|---|---|
Cuboid()
Creates a cube. |
|
Cuboid(double length,
double width,
double height)
Creates a cuboid, length x width x height. |
|
| Method Summary | |
|---|---|
void |
create()
Sets the vertices and faces of a cube. |
void |
create(double l,
double w,
double h)
Sets the vertices and faces of a cuboid. |
double[] |
getExtent()
Gets the corner with all positive components. |
| Methods inherited from class org.dolben.poly.Polyhedron |
|---|
getFace, getFaceIndices, getFaces, getPosition, getRadius, getVertex, getVertexCount, getVertices, rotate, scale, setRadius, toString, translate, turnInsideOut |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Cuboid(double length,
double width,
double height)
public Cuboid()
| Method Detail |
|---|
public double[] getExtent()
public void create()
create in class Polyhedron
public void create(double l,
double w,
double h)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||