|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dolben.poly.Solid
public abstract class Solid
Solid is used for drawing a projection of a polyhedron.
| Field Summary | |
|---|---|
protected Polyhedron |
polyhedron
|
| Constructor Summary | |
|---|---|
Solid(Polyhedron poly)
Creates a new Solid for a given polyhedron. |
|
| Method Summary | |
|---|---|
Polyhedron |
getPolyhedron()
Gets this Solid's polyhedron. |
abstract void |
paint(Projector projector,
java.awt.Graphics graphics)
Draws the polyhedron. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Polyhedron polyhedron
| Constructor Detail |
|---|
public Solid(Polyhedron poly)
poly - the polyhedron to be drawn| Method Detail |
|---|
public Polyhedron getPolyhedron()
public abstract void paint(Projector projector,
java.awt.Graphics graphics)
projector - the projector that maps 3D to Graphics coordinatesgraphics - the drawing context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||