org.geotools.arcsde.data
Class SeToJTSGeometryFactory

Object
  extended by SeToJTSGeometryFactory
All Implemented Interfaces:
GeometryFactory

public class SeToJTSGeometryFactory
extends 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.

Module:
modules/plugin/datastore (gt-datastore.jar)

Field Summary
protected static GeometryFactory gf
           
 
Constructor Summary
SeToJTSGeometryFactory()
           
 
Method Summary
 void envelope(double minx, double miny, double maxx, double maxy)
           
 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gf

protected static GeometryFactory gf
Constructor Detail

SeToJTSGeometryFactory

public SeToJTSGeometryFactory()
Method Detail

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 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-2009 Geotools. All Rights Reserved.