src/main/java/de/javagl/geom/Geom.java
/**
     * Utility method for debugging: Print the code for creating a list
     * containing the given points.
     * 
     * @param name The name of the list
     * @param points The points
     */
Utility method for debugging: Print the code for creating a list
containing the given points.

@param name The name of the list
@param points The points
Utility method for debugging : Print the code for creating a list containing the given points . @param name The name of the list @param points The points
@Deprecated
    static void debugPrintCreation(
        String name, List<? extends Point2D> points)
    {
        System.out.println("List<Point2D> " + name + " = Arrays.asList(");
        for (int i = 0; i < points.size(); i++)
        {
            Point2D p = points.get(i);
            if (i > 0)
            {
                System.out.println(",");
            }
            System.out.print("    new Point2D.Double(" 
                + p.getX() + ", " + p.getY() + ")");
        }
        System.out.println(");");
    }
@ Deprecated static void debugPrintCreation ( String name , List < ? extends Point2D > points ) { System . out . println ( "List<Point2D> " + name + " = Arrays.asList(" ) ; for ( int i = 0 ; i < points . size ( ) ; i ++ ) { Point2D p = points . get ( i ) ; if ( i > 0 ) { System . out . println ( "," ) ; } System . out . print ( "    new Point2D.Double(" + p . getX ( ) + ", " + p . getY ( ) + ")" ) ; } System . out . println ( ");" ) ; }
Utility method for debugging: Print the code for creating a list
 containing the given points.
Utility method for debugging : Print the code for creating a list containing the given points .