|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.geom.GeometryCollection
| Field Summary |
| Fields inherited from interface com.moximedia.ows.types.GeometryType |
GEOMETRY_TYPE_COLLECTION, GEOMETRY_TYPE_ENVELOPE, GEOMETRY_TYPE_LINE, GEOMETRY_TYPE_MULTILINE, GEOMETRY_TYPE_MULTIPOINT, GEOMETRY_TYPE_MULTIPOLYGON, GEOMETRY_TYPE_POINT, GEOMETRY_TYPE_POLYGON, GEOMETRY_TYPE_UNKNOWN |
| Constructor Summary | |
GeometryCollection()
Creates new GeometryCollection |
|
| Method Summary | |
void |
add(Geometry geometry)
|
java.lang.Object |
clone()
Creates a clone of this object. |
Point |
getClosestPointTo(Point pt)
Gets the closest vertex in the collection to the specified point. |
Envelope |
getExtent()
|
java.util.ArrayList |
getGeometries()
|
int |
getGeometryType()
Returns the geometry type of this geometry. |
boolean |
intersects(Geometry geometry)
|
boolean |
isGeometryType(int geometryType)
Compares a geometry type with another value. |
boolean |
isValid()
Returns an indicator of whether this shape is valid. |
Geometry |
project(Projection projection)
|
Geometry |
project(Projection fromProjection,
Projection toProjection)
|
void |
setSrs(java.lang.String srs)
|
void |
setXmlAttribute(java.lang.String element,
java.lang.String name,
java.lang.String value)
|
int |
size()
|
java.lang.String |
toGmlString()
Returns the GML text string representing this object. |
com.vividsolutions.jts.geom.Geometry |
toJtsGeometry()
|
java.lang.String |
toWktString()
Returns the well known string representation of this object. |
Geometry |
unproject(Projection projection)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GeometryCollection()
| Method Detail |
public void add(Geometry geometry)
public java.lang.Object clone()
clone in interface Geometrypublic Envelope getExtent()
getExtent in interface Geometrypublic java.util.ArrayList getGeometries()
public int getGeometryType()
getGeometryType in interface Geometrypublic boolean intersects(Geometry geometry)
intersects in interface Geometrypublic boolean isGeometryType(int geometryType)
isGeometryType in interface GeometrygeometryType - An enumerated value.
public void setXmlAttribute(java.lang.String element,
java.lang.String name,
java.lang.String value)
setXmlAttribute in interface Geometrypublic int size()
public void setSrs(java.lang.String srs)
setSrs in interface Geometrypublic java.lang.String toGmlString()
toGmlString in interface Geometry
public Geometry project(Projection fromProjection,
Projection toProjection)
project in interface Geometrypublic Geometry project(Projection projection)
project in interface Geometrypublic Geometry unproject(Projection projection)
unproject in interface Geometrypublic com.vividsolutions.jts.geom.Geometry toJtsGeometry()
toJtsGeometry in interface Geometrypublic boolean isValid()
isValid in interface Geometrypublic Point getClosestPointTo(Point pt)
getClosestPointTo in interface Geometrypt - The point to compare the vertexes to.
public java.lang.String toWktString()
toWktString in interface Geometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||