|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hardcode.gdbms.engine.spatial.GeometryFactory
public class GeometryFactory
Field Summary | |
---|---|
static GeometryFactory |
instance
|
Constructor Summary | |
---|---|
GeometryFactory()
|
Method Summary | |
---|---|
Geometry |
createLineString(GeneralPath gp)
Creates a new linestring Geometry |
Geometry |
createMultiLineString(GeneralPath[] linestrings)
Creates a new MultiLineString geometry |
Geometry |
createMultiLineString(Geometry[] linestrings)
Creates a new MultiLineString geometry |
Geometry |
createMultiPoint(double[] x,
double[] y)
Creates a multipoint geometry |
Geometry |
createMultiPoint(MultipointGeneralPath gp)
Creates a multipoint geometry. |
Geometry |
createMultiPolygon(Geometry[] polygons)
Creates a new MultiPolygonString geometry |
Geometry |
createPoint(double x,
double y)
Creates a point Geometry |
Geometry |
createPolygon(ClosedGeneralPath shell)
Creates a polygon with no holes |
Geometry |
createPolygon(ClosedGeneralPath shell,
ClosedGeneralPath[] holes)
Creates a new polygon geometry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static GeometryFactory instance
Constructor Detail |
---|
public GeometryFactory()
Method Detail |
---|
public Geometry createPoint(double x, double y)
gp
-
public Geometry createMultiPoint(MultipointGeneralPath gp)
gp
-
public Geometry createMultiPoint(double[] x, double[] y)
x
- y
-
public Geometry createLineString(GeneralPath gp)
gp
-
public Geometry createPolygon(ClosedGeneralPath shell)
shell
-
public Geometry createPolygon(ClosedGeneralPath shell, ClosedGeneralPath[] holes)
shell
- holes
-
public Geometry createMultiLineString(GeneralPath[] linestrings)
linestrings
-
public Geometry createMultiLineString(Geometry[] linestrings)
linestrings
-
public Geometry createMultiPolygon(Geometry[] polygons)
polygons
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |