|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dolben.poly.Solid
org.dolben.poly.WireFrame
public class WireFrame
Used for drawing a projection of a polyhedron as a wire frame.
| Field Summary |
|---|
| Fields inherited from class org.dolben.poly.Solid |
|---|
polyhedron |
| Constructor Summary | |
|---|---|
WireFrame(Polyhedron poly,
java.awt.Color colo)
Creates a new WireFrame for a given polyhedron. |
|
| Method Summary | |
|---|---|
void |
paint(Projector projector,
java.awt.Graphics graphics)
Draws the polyhedron. |
| Methods inherited from class org.dolben.poly.Solid |
|---|
getPolyhedron |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WireFrame(Polyhedron poly,
java.awt.Color colo)
poly - the polyhedron to be drawncolo - the color with which to draw| Method Detail |
|---|
public void paint(Projector projector,
java.awt.Graphics graphics)
paint in class Solidprojector - 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 | ||||||||