
public class OPolygonShapeBuilder extends OComplexShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
BASE_CLASS, COORDINATES, GEOMETRY_FACTORY, SHAPE_FACTORY, SPATIAL_CONTEXT, wktReader| Constructor and Description |
|---|
OPolygonShapeBuilder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asText(ODocument document) |
protected java.util.List<java.util.List<java.util.List<java.lang.Double>>> |
coordinatesFromPolygon(org.locationtech.jts.geom.Polygon polygon) |
protected java.util.List<java.util.List<java.util.List<java.lang.Double>>> |
coordinatesFromPolygonZ(org.locationtech.jts.geom.Geometry polygon) |
protected org.locationtech.jts.geom.LinearRing |
createLinearRing(java.util.List<java.util.List<java.lang.Number>> coords) |
protected org.locationtech.jts.geom.Polygon |
createPolygon(java.util.List<java.util.List<java.util.List<java.lang.Number>>> coordinates) |
org.locationtech.spatial4j.shape.jts.JtsGeometry |
fromDoc(ODocument document) |
java.lang.String |
getName() |
OShapeType |
getType() |
void |
initClazz(ODatabaseInternal db) |
ODocument |
toDoc(org.locationtech.spatial4j.shape.jts.JtsGeometry shape) |
protected ODocument |
toDoc(org.locationtech.spatial4j.shape.jts.JtsGeometry shape,
org.locationtech.jts.geom.Geometry geometry) |
coordinatesFromLineString, coordinatesFromLineStringZ, createLineString, createMultiLine, createMultiPoint, createMultiPolygon, isMultiLine, isMultiPoint, isMultiPolygon, isPoint, isPolygonasBinary, asGeoJson, asGeoJson, asText, asText, asText, buffer, context, format, fromGeoJson, fromMapGeoJson, fromObject, fromText, getSRID, superClass, toDoc, toShape, validatepublic java.lang.String getName()
getName in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>public OShapeType getType()
getType in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>public void initClazz(ODatabaseInternal db)
initClazz in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>public org.locationtech.spatial4j.shape.jts.JtsGeometry fromDoc(ODocument document)
fromDoc in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>protected org.locationtech.jts.geom.Polygon createPolygon(java.util.List<java.util.List<java.util.List<java.lang.Number>>> coordinates)
protected org.locationtech.jts.geom.LinearRing createLinearRing(java.util.List<java.util.List<java.lang.Number>> coords)
public ODocument toDoc(org.locationtech.spatial4j.shape.jts.JtsGeometry shape)
toDoc in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>protected ODocument toDoc(org.locationtech.spatial4j.shape.jts.JtsGeometry shape, org.locationtech.jts.geom.Geometry geometry)
toDoc in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>protected java.util.List<java.util.List<java.util.List<java.lang.Double>>> coordinatesFromPolygon(org.locationtech.jts.geom.Polygon polygon)
protected java.util.List<java.util.List<java.util.List<java.lang.Double>>> coordinatesFromPolygonZ(org.locationtech.jts.geom.Geometry polygon)
public java.lang.String asText(ODocument document)
asText in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>Copyright © 2013–2022 OrientDB. All rights reserved.