com.moximedia.ows.geom
Interface Geometry

All Known Implementing Classes:
Envelope, GeometryCollection, Line, MultiLine, MultiPoint, MultiPolygon, Point, Polygon

public interface Geometry

Author:
jdc

Method Summary
 java.lang.Object clone()
           
 Point getClosestPointTo(Point pt)
           
 Envelope getExtent()
           
 int getGeometryType()
           
 boolean intersects(Geometry geometry)
           
 boolean isGeometryType(int geometryType)
           
 boolean isValid()
           
 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)
           
 java.lang.String toGmlString()
           
 com.vividsolutions.jts.geom.Geometry toJtsGeometry()
           
 java.lang.String toWktString()
          Returns the well known string representation of this object.
 Geometry unproject(Projection projection)
           
 

Method Detail

clone

public java.lang.Object clone()

getExtent

public Envelope getExtent()

getGeometryType

public int getGeometryType()

intersects

public boolean intersects(Geometry geometry)

isGeometryType

public boolean isGeometryType(int geometryType)

isValid

public boolean isValid()

setXmlAttribute

public void setXmlAttribute(java.lang.String element,
                            java.lang.String name,
                            java.lang.String value)

toGmlString

public java.lang.String toGmlString()

setSrs

public void setSrs(java.lang.String srs)

toJtsGeometry

public com.vividsolutions.jts.geom.Geometry toJtsGeometry()

getClosestPointTo

public Point getClosestPointTo(Point pt)

project

public Geometry project(Projection fromProjection,
                        Projection toProjection)

project

public Geometry project(Projection projection)

unproject

public Geometry unproject(Projection projection)

toWktString

public java.lang.String toWktString()
Returns the well known string representation of this object.

Returns:
The well known text.


Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.