Class GeometricRelationFunction

java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.function.geosparql.GeometricRelationFunction
All Implemented Interfaces:
Function
Direct Known Subclasses:
EhContains, EhCoveredBy, EhCovers, EhDisjoint, EhEquals, EhInside, EhMeet, EhOverlap, RCC8DC, RCC8EC, RCC8EQ, RCC8NTPP, RCC8NTPPI, RCC8PO, RCC8TPP, RCC8TPPI, SfContains, SfCrosses, SfDisjoint, SfEquals, SfIntersects, SfOverlaps, SfTouches, SfWithin

abstract class GeometricRelationFunction extends Object implements Function
  • Constructor Details

    • GeometricRelationFunction

      GeometricRelationFunction()
  • Method Details

    • evaluate

      public Value evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
      Description copied from interface: Function
      Evaluate the function over the supplied input arguments, using the supplied ValueFactory to produce the result.
      Specified by:
      evaluate in interface Function
      Parameters:
      valueFactory - a ValueFactory to use for producing the function result.
      args - the function input arguments.
      Returns:
      the function result value.
      Throws:
      ValueExprEvaluationException
    • relation

      protected abstract boolean relation(org.locationtech.spatial4j.shape.Shape g1, org.locationtech.spatial4j.shape.Shape g2)