|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.chart3D.engine.Shape3D.Line
protected class Shape3D.Line extends java.lang.Object implements Shape3D.ProjectableShape<Projector3D>
Class for storing line coordinates
| Modifier and Type | Field and Description |
|---|---|
protected Point3D |
pt1
|
protected Point3D |
pt2
|
| Constructor and Description |
|---|
Shape3D.Line(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
|
Shape3D.Line(Point3D p1,
Point3D p2)
|
| Modifier and Type | Method and Description |
|---|---|
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 Point3D pt1
protected Point3D pt2
| Constructor Detail |
|---|
public Shape3D.Line(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
public Shape3D.Line(Point3D p1,
Point3D p2)
| Method Detail |
|---|
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 | ||||||||