public static final Point add(Point... points)
    {
        AbstractPoint res = new AbstractPoint();
        for (Point pp : points)
        {
            res.x += pp.getX();
            res.y += pp.getY();
        }
        return res;
    }
public static final Point add ( Point ... points ) { AbstractPoint res = new AbstractPoint ( ) ; for ( Point pp : points ) { res . x += pp . getX ( ) ; res . y += pp . getY ( ) ; } return res ; }
Sums points x values to x values and y values to y values
@param points
@return A new Point