|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dolben.iiid.Projector
public class Projector
Projector is used for drawing a 3D facet in 2D, either as an outline or as a shaded, filled polygon.
Constructor Summary | |
---|---|
Projector(double w,
double h,
double s,
double v)
Creates a new Projector. |
Method Summary | |
---|---|
double[] |
getViewer()
Gets the location of the viewer. |
int[][] |
project(double[][] point)
Projects an array of 3D points onto the drawing plane. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Projector(double w, double h, double s, double v)
w
- the width of the drawingh
- the height of the drawings
- the z component of the screen planev
- the z component of the location of the viewerMethod Detail |
---|
public double[] getViewer()
public int[][] project(double[][] point)
point
- the array of points to be projected
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |