Class OShapeOperationImpl
java.lang.Object
com.orientechnologies.spatial.shape.OShapeOperationImpl
- All Implemented Interfaces:
OShapeOperation
Created by Enrico Risa on 29/09/15.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1) doubledistance(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanintersect(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) booleanisEquals(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1) booleanisWithInDistance(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2, Double dist) booleanwithin(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1)
-
Constructor Details
-
OShapeOperationImpl
-
-
Method Details
-
distance
public double distance(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
distancein interfaceOShapeOperation
-
isWithInDistance
public boolean isWithInDistance(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2, Double dist) - Specified by:
isWithInDistancein interfaceOShapeOperation
-
intersect
public boolean intersect(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2) - Specified by:
intersectin interfaceOShapeOperation
-
contains
public boolean contains(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1) - Specified by:
containsin interfaceOShapeOperation
-
within
public boolean within(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1) - Specified by:
withinin interfaceOShapeOperation
-
isEquals
public boolean isEquals(org.locationtech.spatial4j.shape.Shape shape, org.locationtech.spatial4j.shape.Shape shape1) - Specified by:
isEqualsin interfaceOShapeOperation
-