public class OGeometryCollectionShapeBuilder extends OComplexShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
Modifier and Type | Field and Description |
---|---|
protected OShapeFactory |
shapeFactory |
BASE_CLASS, COORDINATES, GEOMETRY_FACTORY, SHAPE_FACTORY, SPATIAL_CONTEXT
Constructor and Description |
---|
OGeometryCollectionShapeBuilder(OShapeFactory shapeFactory) |
Modifier and Type | Method and Description |
---|---|
String |
asText(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> shapes) |
org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> |
fromDoc(ODocument doc) |
org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> |
fromMapGeoJson(Map<String,Object> geoJsonMap) |
String |
getName() |
OShapeType |
getType() |
void |
initClazz(ODatabaseInternal db) |
ODocument |
toDoc(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> shapes) |
coordinatesFromLineString, createLineString, createMultiLine, createMultiPoint, createMultiPolygon, isMultiLine, isMultiPoint, isMultiPolygon, isPoint, isPolygon
asBinary, asGeoJson, asGeoJson, asText, asText, asText, buffer, context, fromGeoJson, fromObject, fromText, getSRID, superClass, toDoc, toShape, validate
protected OShapeFactory shapeFactory
public OGeometryCollectionShapeBuilder(OShapeFactory shapeFactory)
public String getName()
getName
in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
public OShapeType getType()
getType
in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
public org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> fromMapGeoJson(Map<String,Object> geoJsonMap)
fromMapGeoJson
in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
public org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> fromDoc(ODocument doc)
fromDoc
in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
public void initClazz(ODatabaseInternal db)
initClazz
in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
public String asText(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> shapes)
asText
in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
public ODocument toDoc(org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape> shapes)
toDoc
in class OShapeBuilder<org.locationtech.spatial4j.shape.ShapeCollection<org.locationtech.spatial4j.shape.Shape>>
Copyright © 2009–2020 OrientDB. All rights reserved.