|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.model.geometry.GM_Position_Impl
A sequence of decimals numbers which when written on a width are a sequence of coordinate positions. The width is derived from the CRS or coordinate dimension of the container.
-----------------------------------------------------------------------
| Field Summary | |
private double |
mute
|
private double[] |
point
|
private static long |
serialVersionUID
Use serialVersionUID for interoperability. |
| Constructor Summary | |
(package private) |
GM_Position_Impl()
constructor. initializes a point to the coordinate 0/0 |
(package private) |
GM_Position_Impl(double[] coords)
constructor. |
(package private) |
GM_Position_Impl(double x,
double y)
constructor |
(package private) |
GM_Position_Impl(double x,
double y,
double z)
constructor |
| Method Summary | |
java.lang.Object |
clone()
returns a shallow copy of the geometry. |
boolean |
equals(java.lang.Object other)
compares if all field of other are equal to the corresponding fields of this position |
double[] |
getAsArray()
returns the position as a array the first field contains the x- the second field the y-value etc. |
double |
getX()
returns the x-value of this point |
double |
getY()
returns the y-value of this point |
double |
getZ()
returns the z-value of this point |
java.lang.String |
toString()
|
void |
translate(double[] d)
translate the point by the submitted values. the dz-
value will be ignored. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
private double[] point
private double mute
| Constructor Detail |
GM_Position_Impl()
GM_Position_Impl(double x,
double y)
x - x-value of the pointy - y-value of the point
GM_Position_Impl(double x,
double y,
double z)
x - x-value of the pointy - y-value of the pointz - z-value of the pointGM_Position_Impl(double[] coords)
| Method Detail |
public java.lang.Object clone()
public double getX()
getX in interface GM_Positionpublic double getY()
getY in interface GM_Positionpublic double getZ()
getZ in interface GM_Positionpublic double[] getAsArray()
getAsArray in interface GM_Positionpublic void translate(double[] d)
dz-
value will be ignored.
translate in interface GM_Positionpublic boolean equals(java.lang.Object other)
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||