| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.spatialschema.JTSAdapter
public class JTSAdapter
Adapter between deegree-Geometrys and JTS-Geometry objects.
Please note that the generated deegree-objects use null as CS_CoordinateSystem!
| Constructor Summary | |
|---|---|
JTSAdapter()
 | 
|
| Method Summary | |
|---|---|
static com.vividsolutions.jts.geom.Geometry | 
export(Geometry gmObject)
Converts a Geometry to a corresponding JTS-Geometry object.  | 
static com.vividsolutions.jts.geom.LinearRing | 
export(Position[] positions)
Converts an array of Positions to a LinearRing.  | 
static Geometry | 
wrap(com.vividsolutions.jts.geom.Geometry geometry)
Converts a JTS-Geometry object to a corresponding Geometry.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JTSAdapter()
| Method Detail | 
|---|
public static com.vividsolutions.jts.geom.Geometry export(Geometry gmObject)
                                                   throws GeometryException
Currently, the following conversions are supported:
gmObject - the object to be converted
GeometryException - if type unsupported or conversion failed
public static Geometry wrap(com.vividsolutions.jts.geom.Geometry geometry)
                     throws GeometryException
Currently, the following conversions are supported:
geometry - the JTS-Geometry to be converted
GeometryException - if type unsupported or conversion failedpublic static com.vividsolutions.jts.geom.LinearRing export(Position[] positions)
positions - an array of Positions
  | 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net