Class JTSTestBuilder


  • public class JTSTestBuilder
    extends java.lang.Object
    A Swing application which supports creating geometries and running JTS operations.

    Command Line Options

    -geomfunc { <classname> } Specifies classes whose public static methods will be loaded as geometry functions
    Version:
    1.7
    • Constructor Detail

      • JTSTestBuilder

        public JTSTestBuilder()
        Construct the application
    • Method Detail

      • createCmdLine

        private static CommandLine createCmdLine()
      • getPrecisionModel

        public static PrecisionModel getPrecisionModel()
      • initFrame

        private void initFrame()
      • main

        public static void main​(java.lang.String[] args)
        Main method
      • setLookAndFeel

        private static void setLookAndFeel()
                                    throws java.lang.InterruptedException,
                                           java.lang.reflect.InvocationTargetException
        Sets the look and feel, using user-defined LAF if provided as a system property. e.g. Metal: -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel
        Throws:
        java.lang.InterruptedException
        java.lang.reflect.InvocationTargetException
      • readArgs

        private static void readArgs​(java.lang.String[] args)
                              throws ParseException,
                                     java.lang.ClassNotFoundException
        Throws:
        ParseException
        java.lang.ClassNotFoundException