Class LoggingGeometryOperation

    • Constructor Detail

      • LoggingGeometryOperation

        public LoggingGeometryOperation()
      • LoggingGeometryOperation

        public LoggingGeometryOperation​(GeometryOperation geomOp)
    • Method Detail

      • getReturnType

        public java.lang.Class getReturnType​(java.lang.String opName)
        Description copied from interface: GeometryOperation
        Gets the class of the return type of the given operation.
        Specified by:
        getReturnType in interface GeometryOperation
        Parameters:
        opName - the name of the operation
        Returns:
        the class of the return type of the specified operation
      • invoke

        public Result invoke​(java.lang.String opName,
                             Geometry geometry,
                             java.lang.Object[] args)
                      throws java.lang.Exception
        Description copied from interface: GeometryOperation
        Invokes an operation on a Geometry.
        Specified by:
        invoke in interface GeometryOperation
        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:
        java.lang.Exception - if some error was encountered trying to find or process the operation