org.geotools.arcsde.data
Class SeToJTSGeometryFactory
java.lang.Object
org.geotools.arcsde.data.SeToJTSGeometryFactory
- All Implemented Interfaces:
- GeometryFactory
public class SeToJTSGeometryFactory
- extends java.lang.Object
- implements GeometryFactory
This is an experimental implementation of GeometryFactory
that
creates JTS geometries directly by calling SeRow.getGeometry(GeometryFactory, int)
,
instead of fetching an SeShape
through SeRow.getShape(int)
and then converting it
to a JTS geometry. This is work in progress and _experimental_, though.
Field Summary |
protected static com.vividsolutions.jts.geom.GeometryFactory |
gf
|
Method Summary |
void |
envelope(double minx,
double miny,
double maxx,
double maxy)
|
com.vividsolutions.jts.geom.Geometry |
getGeometry()
|
protected void |
init(int numParts,
int numPoints)
|
void |
init(int type,
int numParts,
int numPoints)
|
void |
newPart(int numSubParts)
|
void |
newPoint(double x,
double y)
|
void |
newPoint(double x,
double y,
double m)
|
void |
newPoint(double x,
double y,
double m,
double z)
|
void |
newSubPart(int numPoints)
|
void |
partOffsets(int[] partOffsets)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gf
protected static com.vividsolutions.jts.geom.GeometryFactory gf
SeToJTSGeometryFactory
public SeToJTSGeometryFactory()
init
public void init(int type,
int numParts,
int numPoints)
init
protected void init(int numParts,
int numPoints)
envelope
public void envelope(double minx,
double miny,
double maxx,
double maxy)
getGeometry
public com.vividsolutions.jts.geom.Geometry getGeometry()
newPart
public void newPart(int numSubParts)
newSubPart
public void newSubPart(int numPoints)
newPoint
public void newPoint(double x,
double y)
newPoint
public void newPoint(double x,
double y,
double m)
newPoint
public void newPoint(double x,
double y,
double m,
double z)
partOffsets
public void partOffsets(int[] partOffsets)
Copyright © 1996-2010 Geotools. All Rights Reserved.