Class OShapeFactory
java.lang.Object
com.orientechnologies.spatial.shape.OShapeBuilder<T>
com.orientechnologies.spatial.shape.OComplexShapeBuilder
com.orientechnologies.spatial.shape.OShapeFactory
-
Field Summary
FieldsFields 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 TypeMethodDescriptionbyte[]org.locationtech.spatial4j.shape.Shapeorg.locationtech.spatial4j.shape.ShapefromMapGeoJson(Map geoJsonMap) org.locationtech.spatial4j.shape.ShapefromObject(Object obj) getName()getType()voidvoidregisterFactory(OShapeBuilder factory) toDoc(org.locationtech.jts.geom.Geometry geometry) toDoc(org.locationtech.spatial4j.shape.Shape shape) protected ODocumenttoDoc(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.jts.geom.Geometry geometry) org.locationtech.jts.geom.GeometrytoGeometry(org.locationtech.spatial4j.shape.Shape shape) Methods inherited from class com.orientechnologies.spatial.shape.OComplexShapeBuilder
coordinatesFromLineString, coordinatesFromLineStringZ, createLineString, createMultiLine, createMultiPoint, createMultiPolygon, isMultiLine, isMultiPoint, isMultiPolygon, isPoint, isPolygon
-
Field Details
-
INSTANCE
-
operation
-
-
Constructor Details
-
OShapeFactory
protected OShapeFactory()
-
-
Method Details
-
getName
- Specified by:
getNamein classOShapeBuilder
-
getType
- Specified by:
getTypein classOShapeBuilder
-
initClazz
- Specified by:
initClazzin classOShapeBuilder
-
fromDoc
- Specified by:
fromDocin classOShapeBuilder
-
fromObject
- Overrides:
fromObjectin classOShapeBuilder
-
asText
- Overrides:
asTextin classOShapeBuilder
-
asText
- Overrides:
asTextin classOShapeBuilder
-
asBinary
-
toDoc
- Specified by:
toDocin classOShapeBuilder
-
toDoc
protected ODocument toDoc(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.jts.geom.Geometry geometry) - Overrides:
toDocin classOShapeBuilder
-
fromMapGeoJson
- Overrides:
fromMapGeoJsonin classOShapeBuilder
-
toGeometry
public org.locationtech.jts.geom.Geometry toGeometry(org.locationtech.spatial4j.shape.Shape shape) -
toDoc
-
operation
-
registerFactory
-