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