|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.ogc.wms.gml_Impl.GMLCoord_Impl
Title:
Description:
Copyright: Copyright (c) 2005
Company: Indiana University - Computer Science Dept.
| 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. |
double |
getZ()
returns the z-value of the coordinate. |
void |
setCoord(double x)
set the coordinate as one-dimensional point |
void |
setCoord(double[] coord)
sets the coordinate value(s) using a double array. |
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 |
| 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 GMLCoordpublic double getY()
getY in interface GMLCoordpublic double getZ()
getZ in interface GMLCoordpublic double[] getCoord()
getCoord in interface GMLCoord
public void setCoord(double[] coord)
throws GMLException
setCoord in interface GMLCoordcoord - double[]
GMLExceptionpublic void setCoord(double x)
setCoord in interface GMLCoordx - double
public void setCoord(double x,
double y)
setCoord in interface GMLCoordx - doubley - double
public void setCoord(double x,
double y,
double z)
setCoord in interface GMLCoordx - doubley - doublez - doublepublic int getDimension()
getDimension in interface GMLCoordpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||