|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Double
lt.monarch.math.geom.Rectangle2D
lt.monarch.math.geom.Rectangle3D
public class Rectangle3D extends Rectangle2D implements Primitive3D
| Modifier and Type | Class and Description |
|---|
| Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D |
|---|
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float |
| Modifier and Type | Field and Description |
|---|---|
double |
x2
|
double |
y2
|
double |
z
|
double |
z2
|
| Fields inherited from class java.awt.geom.Rectangle2D.Double |
|---|
height, width, x, y |
| Fields inherited from class java.awt.geom.Rectangle2D |
|---|
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP |
| Constructor and Description |
|---|
Rectangle3D(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
Construct 3D rectangle in 3D space |
Rectangle3D(Point3D pt1,
Point3D pt2)
Construct 3D rectangle in 3D space |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Point3D> |
get3DPoints()
Gets a list of 3D points |
int |
getSelectionId()
Gets associated chart obejct id |
void |
setSelectionID(int id)
Sets associated chart object id |
| Methods inherited from class lt.monarch.math.geom.Rectangle2D |
|---|
dispose, equals, finalize, get2DPoints, getPolygon, grow, setFrame, setLocation, setLocation, setSize, translate, updateAWTRectangle |
| Methods inherited from class java.awt.geom.Rectangle2D.Double |
|---|
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect, toString |
| Methods inherited from class java.awt.geom.Rectangle2D |
|---|
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union |
| Methods inherited from class java.awt.geom.RectangularShape |
|---|
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, 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 z
public double z2
public double y2
public double x2
| Constructor Detail |
|---|
public Rectangle3D(double x1,
double y1,
double z1,
double x2,
double y2,
double z2)
x1 - x coordinatey1 - y coordinatez1 - z coordinatex2 - opposite corner x coordinatey2 - opposite corner y coordinatez2 - opposite corner z coordinate
public Rectangle3D(Point3D pt1,
Point3D pt2)
pt1 - first rectangle pointpt2 - opposite corner rectangle point| Method Detail |
|---|
public 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 | ||||||||