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.
  • Constructor Details

    • OComplexShapeBuilder

      public OComplexShapeBuilder()
  • Method Details

    • coordinatesFromLineString

      protected List<List<Double>> coordinatesFromLineString(org.locationtech.jts.geom.LineString ring)
    • coordinatesFromLineStringZ

      protected List<List<Double>> coordinatesFromLineStringZ(org.locationtech.jts.geom.Geometry ring)
    • createLineString

      protected org.locationtech.jts.geom.LineString createLineString(List<List<Number>> coordinates)
    • 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)