|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.geom.Line2D
java.awt.geom.Line2D.Double
lt.monarch.math.geom.Line2D
lt.monarch.math.geom.Line3D
public class Line3D extends Line2D implements Primitive3D
| Modifier and Type | Class and Description |
|---|
| Nested classes/interfaces inherited from class java.awt.geom.Line2D |
|---|
java.awt.geom.Line2D.Double, java.awt.geom.Line2D.Float |
| Modifier and Type | Field and Description |
|---|---|
java.awt.Color |
color
The color value. |
double |
z1
First z coordinate |
double |
z2
Second z coordinate |
| Fields inherited from class java.awt.geom.Line2D.Double |
|---|
x1, x2, y1, y2 |
| Constructor and Description |
|---|
Line3D()
Constructs 3D line |
Line3D(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
Constructs 3D line |
Line3D(Point3D pt1,
Point3D pt2)
Constructs 3D line |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Point3D> |
get3DPoints()
Gets a list of 3D points |
java.awt.Color |
getColor()
Retrieves a color value. |
int |
getSelectionId()
Gets associated chart obejct id |
void |
setColor(java.awt.Color color)
Sets the color value. |
void |
setLine(Point3D p1,
Point3D p2)
Sets the location of the end points of this Line3D to the specified Point3D coordinates. |
void |
setSelectionID(int id)
Sets associated chart object id |
| Methods inherited from class lt.monarch.math.geom.Line2D |
|---|
contains, dispose, finalize, get2DPoints, getIntersection |
| Methods inherited from class java.awt.geom.Line2D.Double |
|---|
getBounds2D, getP1, getP2, getX1, getX2, getY1, getY2, setLine |
| Methods inherited from class java.awt.geom.Line2D |
|---|
clone, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects, intersectsLine, intersectsLine, linesIntersect, ptLineDist, ptLineDist, ptLineDist, ptLineDistSq, ptLineDistSq, ptLineDistSq, ptSegDist, ptSegDist, ptSegDist, ptSegDistSq, ptSegDistSq, ptSegDistSq, relativeCCW, relativeCCW, relativeCCW, setLine, setLine |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lt.monarch.math.geom.Primitive |
|---|
dispose, getBounds2D |
| Methods inherited from interface java.awt.Shape |
|---|
contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects |
| Field Detail |
|---|
public double z1
public double z2
public java.awt.Color color
| Constructor Detail |
|---|
public Line3D()
public Line3D(Point3D pt1,
Point3D pt2)
pt1 - beginning of the linept2 - end of the line
public Line3D(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
x1 - first x coordinatey1 - first y coordinatez1 - first z coordinatex2 - last x coordinatey2 - last y coordinatez2 - last z coordinate| Method Detail |
|---|
public void setColor(java.awt.Color color)
color - - the colorpublic java.awt.Color getColor()
public void setLine(Point3D p1,
Point3D p2)
p1 - the start Point3D of the line segmentp2 - the end Point3D of the line segmentpublic java.util.List<Point3D> get3DPoints()
Primitive3D
get3DPoints in interface Primitive3Dpublic void setSelectionID(int id)
setSelectionID in interface Primitive3Dif - chart object idpublic int getSelectionId()
getSelectionId in interface Primitive3D
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||