class Vector2d extends AbstractVector implements Serializable {

    public Vector2d rotateAroundOrigin(double angle)
    {
        double newX = Math.cos(angle) * myX - Math.sin(angle) * myY;
        double newY = Math.sin(angle) * myX + Math.cos(angle) * myY;
        return new Vector2d(newX, newY);
    }

    public  Vector2d(double x, double y);
    public  Vector2d(Vector2d vec);
    public  Vector2d(Vector2i vec);

}