Class OComplexShapeBuilder<T extends org.locationtech.spatial4j.shape.Shape>
java.lang.Object
com.orientechnologies.spatial.shape.OShapeBuilder<T>
com.orientechnologies.spatial.shape.OComplexShapeBuilder<T>
- Direct Known Subclasses:
OGeometryCollectionShapeBuilder,OLineStringShapeBuilder,OMultiLineStringShapeBuilder,OMultiPointShapeBuilder,OPolygonShapeBuilder,OShapeFactory
public abstract class OComplexShapeBuilder<T extends org.locationtech.spatial4j.shape.Shape>
extends OShapeBuilder<T>
Created by Enrico Risa on 13/08/15.
-
Field Summary
Fields inherited from class com.orientechnologies.spatial.shape.OShapeBuilder
BASE_CLASS, COORDINATES, GEOMETRY_FACTORY, SHAPE_FACTORY, SPATIAL_CONTEXT, wktReader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncoordinatesFromLineString(org.locationtech.jts.geom.LineString ring) coordinatesFromLineStringZ(org.locationtech.jts.geom.Geometry ring) protected org.locationtech.jts.geom.LineStringcreateLineString(List<List<Number>> coordinates) protected org.locationtech.spatial4j.shape.jts.JtsGeometrycreateMultiLine(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.jts.JtsGeometry> geometries) protected org.locationtech.spatial4j.shape.jts.JtsGeometrycreateMultiPoint(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.jts.JtsPoint> geometries) protected org.locationtech.spatial4j.shape.jts.JtsGeometrycreateMultiPolygon(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> geometries) protected booleanisMultiLine(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> collection) protected booleanisMultiPoint(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> collection) protected booleanisMultiPolygon(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> collection) protected booleanisPoint(org.locationtech.spatial4j.shape.Shape shape) protected booleanisPolygon(org.locationtech.spatial4j.shape.Shape shape) Methods inherited from class com.orientechnologies.spatial.shape.OShapeBuilder
asBinary, asGeoJson, asGeoJson, asText, asText, asText, asText, buffer, context, format, fromDoc, fromGeoJson, fromMapGeoJson, fromObject, fromText, getName, getSRID, getType, initClazz, superClass, toDoc, toDoc, toDoc, toShape, validate
-
Constructor Details
-
OComplexShapeBuilder
public OComplexShapeBuilder()
-
-
Method Details
-
coordinatesFromLineString
-
coordinatesFromLineStringZ
-
createLineString
-
createMultiPoint
protected org.locationtech.spatial4j.shape.jts.JtsGeometry createMultiPoint(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.jts.JtsPoint> geometries) -
createMultiLine
protected org.locationtech.spatial4j.shape.jts.JtsGeometry createMultiLine(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.jts.JtsGeometry> geometries) -
createMultiPolygon
protected org.locationtech.spatial4j.shape.jts.JtsGeometry createMultiPolygon(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> geometries) -
isMultiPolygon
protected boolean isMultiPolygon(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> collection) -
isMultiPoint
protected boolean isMultiPoint(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> collection) -
isMultiLine
protected boolean isMultiLine(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> collection) -
isPoint
protected boolean isPoint(org.locationtech.spatial4j.shape.Shape shape) -
isPolygon
protected boolean isPolygon(org.locationtech.spatial4j.shape.Shape shape)
-