|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcox.jmatt.java.MathTools.graphing.noop.NORenderable
cox.jmatt.java.MathTools.graphing.noop.NOPolygon
public class NOPolygon
Constructor Summary | |
---|---|
NOPolygon()
|
Method Summary | |
---|---|
Polygon |
addVertex(double pX,
double pY)
Add a line segment to the Polygon. |
void |
setClosed(boolean pClosed)
Determine whether or not the last point added will be 'connected' to the first point entered. |
Methods inherited from class cox.jmatt.java.MathTools.graphing.noop.NORenderable |
---|
render, setParameter, setType, testCondition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cox.jmatt.java.MathTools.graphing.Renderable |
---|
render, setParameter, setType, testCondition |
Constructor Detail |
---|
public NOPolygon()
Method Detail |
---|
public Polygon addVertex(double pX, double pY)
Polygon
addVertex
in interface Polygon
pX
- The X-coordinate of the point.pY
- The Y-coordinate of the point.
public void setClosed(boolean pClosed)
Polygon
setClosed
in interface Polygon
pClosed
- true to 'close' the Polygon explicitly, false to leave it 'open'.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |