src/main/java/de/javagl/geom/CatmullRomSpline.java
/**
     * Create a list containing the given number of points
     * 
     * @param n The number of points
     * @return The list
     */
Create a list containing the given number of points

@param n The number of points
@return The list
Create a list containing the given number of points @param n The number of points @return The list
private static List<Point2D> createPoints(int n)
    {
        List<Point2D> points = new ArrayList<Point2D>();
        for (int i=0; i<n; i++)
        {
            points.add(new Point2D.Double());
        }
        return points;
    }
private static List < Point2D > createPoints ( int n ) { List < Point2D > points = new ArrayList < Point2D > ( ) ; for ( int i = 0 ; i < n ; i ++ ) { points . add ( new Point2D . Double ( ) ) ; } return points ; }
Create a list containing the given number of points
Create a list containing the given number of points