Class OShapeOperationImpl

java.lang.Object
com.orientechnologies.spatial.shape.OShapeOperationImpl
All Implemented Interfaces:
OShapeOperation

public class OShapeOperationImpl extends Object implements OShapeOperation
Created by Enrico Risa on 29/09/15.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1)
     
    double
    distance(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
     
    boolean
    intersect(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
     
    boolean
    isEquals(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1)
     
    boolean
    isWithInDistance(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2, Double dist)
     
    boolean
    within(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OShapeOperationImpl

      public OShapeOperationImpl(OShapeFactory oShapeFactory)
  • Method Details

    • distance

      public double distance(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Specified by:
      distance in interface OShapeOperation
    • isWithInDistance

      public boolean isWithInDistance(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2, Double dist)
      Specified by:
      isWithInDistance in interface OShapeOperation
    • intersect

      public boolean intersect(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
      Specified by:
      intersect in interface OShapeOperation
    • contains

      public boolean contains(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1)
      Specified by:
      contains in interface OShapeOperation
    • within

      public boolean within(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1)
      Specified by:
      within in interface OShapeOperation
    • isEquals

      public boolean isEquals(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1)
      Specified by:
      isEquals in interface OShapeOperation