public class SeToJTSGeometryFactory extends Object implements GeometryFactory
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.Modifier and Type | Field and Description |
---|---|
protected static GeometryFactory |
gf |
Constructor and Description |
---|
SeToJTSGeometryFactory() |
Modifier and Type | Method and Description |
---|---|
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) |
public void init(int type, int numParts, int numPoints)
protected void init(int numParts, int numPoints)
public void envelope(double minx, double miny, double maxx, double maxy)
public Geometry getGeometry()
public void newPart(int numSubParts)
public void newSubPart(int numPoints)
public void newPoint(double x, double y)
public void newPoint(double x, double y, double m)
public void newPoint(double x, double y, double m, double z)
public void partOffsets(int[] partOffsets)
Copyright © 1996–2019 Geotools. All rights reserved.