src/test/java/de/javagl/geom/ArrowsTest.java
/**
     * Draw the given list of points to the given graphics 
     * 
     * @param g The graphics
     * @param points The points
     */
Draw the given list of points to the given graphics

@param g The graphics
@param points The points
Draw the given list of points to the given graphics @param g The graphics @param points The points
private static void drawPoints(Graphics2D g, List<Point2D> points)
    {
        double r = 3;
        for (Point2D point : points)
        {
            double x = point.getX();
            double y = point.getY();
            g.fill(new Ellipse2D.Double(
                x-r, y-r, r+r, r+r));
        }
    }
private static void drawPoints ( Graphics2D g , List < Point2D > points ) { double r = 3 ; for ( Point2D point : points ) { double x = point . getX ( ) ; double y = point . getY ( ) ; g . fill ( new Ellipse2D . Double ( x - r , y - r , r + r , r + r ) ) ; } }
Draw the given list of points to the given graphics
Draw the given list of points to the given graphics