Interface GeometryOperation

    • Method Detail

      • getReturnType

        Class getReturnType​(String opName)
        Gets the class of the return type of the given operation.
        Parameters:
        opName - the name of the operation
        Returns:
        the class of the return type of the specified operation
      • invoke

        Result invoke​(String opName,
                      Geometry geometry,
                      Object[] args)
               throws Exception
        Invokes an operation on a Geometry.
        Parameters:
        opName - name of the operation
        geometry - the geometry to process
        args - the arguments to the operation (which may be typed as Strings)
        Returns:
        the result of the operation
        Throws:
        Exception - if some error was encountered trying to find or process the operation