|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart3D.engine.Shape3D.Polygon
protected class Shape3D.Polygon extends java.lang.Object implements Shape3D.ProjectableShape<Projector3D>
Class for storing polygon coordinates
| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<Point3D> |
list
|
| Constructor and Description |
|---|
Shape3D.Polygon()
|
Shape3D.Polygon(int minsize)
|
Shape3D.Polygon(Point3D[] point3D)
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(Point3D point)
|
Shape3D.ProjectableShape<Projector3D> |
clone()
Retrieves a clone of this shape. |
void |
dispose()
Clears the object |
java.awt.Shape |
getShape()
Returns the swing Shape |
void |
project(Projector3D projector)
Projects all the points of the shape |
void |
transform(Transformation3D tf,
double anchorX,
double anchorY,
double anchorZ)
Transforms all the points of the shape |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ArrayList<Point3D> list
| Constructor Detail |
|---|
public Shape3D.Polygon()
public Shape3D.Polygon(int minsize)
public Shape3D.Polygon(Point3D[] point3D)
| Method Detail |
|---|
public void addPoint(Point3D point)
public void project(Projector3D projector)
Shape3D.ProjectableShape
project in interface Shape3D.ProjectableShape<Projector3D>projector - projector
public void transform(Transformation3D tf,
double anchorX,
double anchorY,
double anchorZ)
Shape3D.ProjectableShape
transform in interface Shape3D.ProjectableShape<Projector3D>tf - transformation matrixanchorX - x anchor point for transformationanchorY - y anchor point for transformationpublic void dispose()
Shape3D.ProjectableShape
dispose in interface Shape3D.ProjectableShape<Projector3D>public java.awt.Shape getShape()
Shape3D.ProjectableShape
getShape in interface Shape3D.ProjectableShape<Projector3D>public Shape3D.ProjectableShape<Projector3D> clone()
Shape3D.ProjectableShape
clone in interface Shape3D.ProjectableShape<Projector3D>clone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||