Class OLineStringShapeBuilder

java.lang.Object
com.orientechnologies.spatial.shape.OShapeBuilder<T>
com.orientechnologies.spatial.shape.OComplexShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
com.orientechnologies.spatial.shape.OLineStringShapeBuilder

public class OLineStringShapeBuilder extends OComplexShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
  • Constructor Details

    • OLineStringShapeBuilder

      public OLineStringShapeBuilder()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
    • getType

      public OShapeType getType()
      Specified by:
      getType in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
    • initClazz

      public void initClazz(ODatabaseInternal db)
      Specified by:
      initClazz in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
    • fromDoc

      public org.locationtech.spatial4j.shape.jts.JtsGeometry fromDoc(ODocument document)
      Specified by:
      fromDoc in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
    • toDoc

      public ODocument toDoc(org.locationtech.spatial4j.shape.jts.JtsGeometry shape)
      Specified by:
      toDoc in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
    • toDoc

      protected ODocument toDoc(org.locationtech.spatial4j.shape.jts.JtsGeometry shape, org.locationtech.jts.geom.Geometry geometry)
      Overrides:
      toDoc in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>
    • asText

      public String asText(ODocument document)
      Overrides:
      asText in class OShapeBuilder<org.locationtech.spatial4j.shape.jts.JtsGeometry>