Added Line2D class