Class StaticMethodGeometryFunction

    • Constructor Detail

      • StaticMethodGeometryFunction

        public StaticMethodGeometryFunction​(java.lang.String category,
                                            java.lang.String name,
                                            java.lang.String description,
                                            java.lang.String[] parameterNames,
                                            java.lang.Class[] parameterTypes,
                                            java.lang.Class returnType,
                                            java.lang.reflect.Method method)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(Geometry g,
                                       java.lang.Object[] arg)
        Description copied from interface: GeometryFunction
        Invokes this function. Note that any exceptions returned must be RuntimeExceptions.
        Specified by:
        invoke in interface GeometryFunction
        Specified by:
        invoke in class BaseGeometryFunction
        Parameters:
        g - the target geometry
        arg - the other arguments to the function
        Returns:
        the value computed by the function
      • invoke

        public static java.lang.Object invoke​(java.lang.reflect.Method method,
                                              java.lang.Object target,
                                              java.lang.Object[] args)
      • getClassname

        public static java.lang.String getClassname​(java.lang.Class javaClass)