Class OperatorSimpleRelation

    • Constructor Detail

      • OperatorSimpleRelation

        public OperatorSimpleRelation()
    • Method Detail

      • execute

        public abstract boolean execute​(Geometry inputGeom1,
                                        Geometry inputGeom2,
                                        SpatialReference sr,
                                        ProgressTracker progressTracker)
        Performs the given relation operation between two geometries.
        Returns:
        Returns True if the relation holds, False otherwise.
      • canAccelerateGeometry

        public boolean canAccelerateGeometry​(Geometry geometry)
        Description copied from class: Operator
        Returns true if the geometry can be accelerated.
        Overrides:
        canAccelerateGeometry in class Operator
        Returns:
        true for geometries that can be accelerated, false for geometries that cannot
      • accelerateGeometry

        public boolean accelerateGeometry​(Geometry geometry,
                                          SpatialReference spatialReference,
                                          Geometry.GeometryAccelerationDegree accelDegree)
        Description copied from class: Operator
        Processes Geometry to accelerate operations on it. The Geometry and it's copies remain accelerated until modified. The acceleration of Geometry can be a time consuming operation. The accelerated geometry also takes more memory. Some operators share the same accelerator, some require a different one. If the accelerator is built for the given parameters, the method returns immediately.
        Overrides:
        accelerateGeometry in class Operator
        Parameters:
        geometry - The geometry to be accelerated
        spatialReference - The spatial reference of that geometry
        accelDegree - The acceleration degree for geometry.