|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.gml.GMLCoord_Impl
----------------------------------------------------------
Field Summary | |
private org.w3c.dom.Element |
element
|
Constructor Summary | |
GMLCoord_Impl(org.w3c.dom.Element element)
Creates a new GMLCoord_Impl object. |
Method Summary | |
static GMLCoord |
createGMLCoord(org.w3c.dom.Document doc)
factory method to create an empty GMLCoord. |
org.w3c.dom.Element |
getAsElement()
|
double[] |
getCoord()
returns the coordinate as double array |
int |
getDimension()
retuns the dimension of the coordinate |
double |
getX()
returns the x-value of the coordinate |
double |
getY()
returns the y-value of the coordinate. if no y-value is defined -9E99 will be returned |
double |
getZ()
returns the z-value of the coordinate. if no z-value is defined -9E99 will be returned |
void |
setCoord(double x)
set the coordinate as one-dimensional point |
void |
setCoord(double[] coord)
sets the coordinate value(s) using a double array. the min length of the equals 1 the max length 3 |
void |
setCoord(double x,
double y)
set the coordinate as two-dimensional point |
void |
setCoord(double x,
double y,
double z)
set the coordinate as three-dimensional point |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private org.w3c.dom.Element element
Constructor Detail |
public GMLCoord_Impl(org.w3c.dom.Element element)
element
- Method Detail |
public static GMLCoord createGMLCoord(org.w3c.dom.Document doc)
public org.w3c.dom.Element getAsElement()
public double getX()
getX
in interface GMLCoord
public double getY()
getY
in interface GMLCoord
public double getZ()
getZ
in interface GMLCoord
public double[] getCoord()
getCoord
in interface GMLCoord
public void setCoord(double[] coord) throws GMLException
setCoord
in interface GMLCoord
GMLException
public void setCoord(double x)
setCoord
in interface GMLCoord
public void setCoord(double x, double y)
setCoord
in interface GMLCoord
public void setCoord(double x, double y, double z)
setCoord
in interface GMLCoord
public int getDimension()
getDimension
in interface GMLCoord
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |