
public class OShapeFactory extends OComplexShapeBuilder
| Modifier and Type | Field and Description |
|---|---|
static OShapeFactory |
INSTANCE |
protected OShapeOperation |
operation |
BASE_CLASS, COORDINATES, GEOMETRY_FACTORY, SHAPE_FACTORY, SPATIAL_CONTEXT| Modifier | Constructor and Description |
|---|---|
protected |
OShapeFactory() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asBinary(Object obj) |
String |
asText(Object obj) |
String |
asText(ODocument document) |
org.locationtech.spatial4j.shape.Shape |
fromDoc(ODocument document) |
org.locationtech.spatial4j.shape.Shape |
fromMapGeoJson(Map geoJsonMap) |
org.locationtech.spatial4j.shape.Shape |
fromObject(Object obj) |
String |
getName() |
OShapeType |
getType() |
void |
initClazz(ODatabaseInternal db) |
OShapeOperation |
operation() |
void |
registerFactory(OShapeBuilder factory) |
ODocument |
toDoc(org.locationtech.jts.geom.Geometry geometry) |
ODocument |
toDoc(org.locationtech.spatial4j.shape.Shape shape) |
org.locationtech.jts.geom.Geometry |
toGeometry(org.locationtech.spatial4j.shape.Shape shape) |
coordinatesFromLineString, createLineString, createMultiLine, createMultiPoint, createMultiPolygon, isMultiLine, isMultiPoint, isMultiPolygon, isPoint, isPolygonasBinary, asGeoJson, asGeoJson, asText, asText, buffer, context, fromGeoJson, fromText, getSRID, superClass, toDoc, toShape, validatepublic static final OShapeFactory INSTANCE
protected OShapeOperation operation
public String getName()
getName in class OShapeBuilderpublic OShapeType getType()
getType in class OShapeBuilderpublic void initClazz(ODatabaseInternal db)
initClazz in class OShapeBuilderpublic org.locationtech.spatial4j.shape.Shape fromDoc(ODocument document)
fromDoc in class OShapeBuilderpublic org.locationtech.spatial4j.shape.Shape fromObject(Object obj)
fromObject in class OShapeBuilderpublic String asText(ODocument document)
asText in class OShapeBuilderpublic String asText(Object obj)
asText in class OShapeBuilderpublic byte[] asBinary(Object obj)
public ODocument toDoc(org.locationtech.spatial4j.shape.Shape shape)
toDoc in class OShapeBuilderpublic org.locationtech.spatial4j.shape.Shape fromMapGeoJson(Map geoJsonMap)
fromMapGeoJson in class OShapeBuilderpublic org.locationtech.jts.geom.Geometry toGeometry(org.locationtech.spatial4j.shape.Shape shape)
public ODocument toDoc(org.locationtech.jts.geom.Geometry geometry)
public OShapeOperation operation()
public void registerFactory(OShapeBuilder factory)
Copyright © 2009–2025 OrientDB. All rights reserved.