public static final Point mul(double k, Point p)
    {
        return new AbstractPoint(k*p.getX(), k*p.getY());
    }
public static final Point mul ( double k , Point p ) { return new AbstractPoint ( k * p . getX ( ) , k * p . getY ( ) ) ; }
multiply p's x and y with k.
@param k
@param p
@return A new Point