public class ShapeBuilders
extends java.lang.Object
Constructor and Description |
---|
ShapeBuilders() |
Modifier and Type | Method and Description |
---|---|
static CircleBuilder |
newCircleBuilder()
create a new Circle
|
static EnvelopeBuilder |
newEnvelope(com.vividsolutions.jts.geom.Coordinate topLeft,
com.vividsolutions.jts.geom.Coordinate bottomRight)
create a new rectangle
|
static GeometryCollectionBuilder |
newGeometryCollection()
Create a new GeometryCollection
|
static LineStringBuilder |
newLineString(CoordinatesBuilder coordinates)
Create a new lineString
|
static LineStringBuilder |
newLineString(java.util.List<com.vividsolutions.jts.geom.Coordinate> list)
Create a new lineString
|
static MultiLineStringBuilder |
newMultiLinestring()
Create a new Collection of lineStrings
|
static MultiPointBuilder |
newMultiPoint(java.util.List<com.vividsolutions.jts.geom.Coordinate> points)
Create a new set of points
|
static MultiPolygonBuilder |
newMultiPolygon()
Create a new Collection of polygons
|
static MultiPolygonBuilder |
newMultiPolygon(ShapeBuilder.Orientation orientation)
Create a new Collection of polygons
|
static PointBuilder |
newPoint(com.vividsolutions.jts.geom.Coordinate coordinate)
Create a new
PointBuilder from a Coordinate |
static PointBuilder |
newPoint(double longitude,
double latitude)
Create a new point
|
static PolygonBuilder |
newPolygon(CoordinatesBuilder shell)
Create a new PolygonBuilder
|
static PolygonBuilder |
newPolygon(java.util.List<com.vividsolutions.jts.geom.Coordinate> shell)
Create a new PolygonBuilder
|
static void |
register(java.util.List<NamedWriteableRegistry.Entry> namedWriteables) |
public static PointBuilder newPoint(double longitude, double latitude)
longitude
- longitude of the pointlatitude
- latitude of the pointPointBuilder
public static PointBuilder newPoint(com.vividsolutions.jts.geom.Coordinate coordinate)
PointBuilder
from a Coordinate
coordinate
- coordinate defining the position of the pointPointBuilder
public static MultiPointBuilder newMultiPoint(java.util.List<com.vividsolutions.jts.geom.Coordinate> points)
MultiPointBuilder
public static LineStringBuilder newLineString(java.util.List<com.vividsolutions.jts.geom.Coordinate> list)
LineStringBuilder
public static LineStringBuilder newLineString(CoordinatesBuilder coordinates)
LineStringBuilder
public static MultiLineStringBuilder newMultiLinestring()
MultiLineStringBuilder
public static PolygonBuilder newPolygon(java.util.List<com.vividsolutions.jts.geom.Coordinate> shell)
PolygonBuilder
public static PolygonBuilder newPolygon(CoordinatesBuilder shell)
PolygonBuilder
public static MultiPolygonBuilder newMultiPolygon()
MultiPolygonBuilder
public static MultiPolygonBuilder newMultiPolygon(ShapeBuilder.Orientation orientation)
MultiPolygonBuilder
public static GeometryCollectionBuilder newGeometryCollection()
GeometryCollectionBuilder
public static CircleBuilder newCircleBuilder()
CircleBuilder
public static EnvelopeBuilder newEnvelope(com.vividsolutions.jts.geom.Coordinate topLeft, com.vividsolutions.jts.geom.Coordinate bottomRight)
EnvelopeBuilder
public static void register(java.util.List<NamedWriteableRegistry.Entry> namedWriteables)