|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.graphics.Coord
com.partnersoft.v3x.graphics.Coord2D
com.partnersoft.v3x.graphics.Coord3D
public class Coord3D
A 3-dimensional coordinate or offset.
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.v3x.graphics.Coord |
|---|
coords |
| Constructor Summary | |
|---|---|
|
Coord3D()
Do-nothing constructor for subclasses. |
protected |
Coord3D(double[] newCoords)
|
|
Coord3D(double x,
double y,
double z)
Creates a new Coord3D from x, y and z dimensions. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone me, baby. |
double |
getZ()
Returns the magnitude of the z dimension. |
void |
setZ(double newZ)
Sets the magnitude of the z dimension. |
XyPoint |
toXyPoint()
|
XyzPoint |
toXyzPoint()
|
| Methods inherited from class com.partnersoft.v3x.graphics.Coord2D |
|---|
getX, getY, setX, setY |
| Methods inherited from class com.partnersoft.v3x.graphics.Coord |
|---|
at, copyState, distance, equals, getCoords, getDimensions, hashCode, round, setCoords, stretch, toString, translate, truncate |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Coord3D()
protected Coord3D(double[] newCoords)
public Coord3D(double x,
double y,
double z)
| Method Detail |
|---|
public double getZ()
public void setZ(double newZ)
public java.lang.Object clone()
clone in class Coord2Dpublic XyPoint toXyPoint()
public XyzPoint toXyzPoint()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||