public class MGeometryFactory
extends GeometryFactory
com.vividsolutions.jts.geom.GeometryFactory
Constructor and Description |
---|
MGeometryFactory() |
MGeometryFactory(MCoordinateSequenceFactory coordinateSequenceFactory) |
MGeometryFactory(PrecisionModel precisionModel) |
MGeometryFactory(PrecisionModel precisionModel,
int SRID) |
MGeometryFactory(PrecisionModel precisionModel,
int SRID,
MCoordinateSequenceFactory coordinateSequenceFactory) |
Modifier and Type | Method and Description |
---|---|
MLineString |
createMLineString(CoordinateSequence coordinates)
Creates a MLineString using the given CoordinateSequence; a null or empty
CoordinateSequence will create an empty MLineString.
|
MLineString |
createMLineString(MCoordinate[] coordinates)
Constructs a MLineString using the given Coordinates; a null or empty
array will create an empty MLineString.
|
MultiMLineString |
createMultiMLineString(MLineString[] mlines) |
MultiMLineString |
createMultiMLineString(MLineString[] mlines,
double mGap) |
public MGeometryFactory(PrecisionModel precisionModel, int SRID, MCoordinateSequenceFactory coordinateSequenceFactory)
public MGeometryFactory(MCoordinateSequenceFactory coordinateSequenceFactory)
public MGeometryFactory(PrecisionModel precisionModel)
public MGeometryFactory(PrecisionModel precisionModel, int SRID)
public MGeometryFactory()
public MLineString createMLineString(MCoordinate[] coordinates)
coordinates
- array of MCoordinate defining this geometry's vertices#createLineString(com.vividsolutions.jts.geom.Coordinate[])
public MultiMLineString createMultiMLineString(MLineString[] mlines, double mGap)
public MultiMLineString createMultiMLineString(MLineString[] mlines)
public MLineString createMLineString(CoordinateSequence coordinates)
coordinates
- a CoordinateSequence possibly empty, or nullcoordinates
#createLineString(com.vividsolutions.jts.geom.CoordinateSequence)