public Line2D() { m_startPnt.X = 0.0f; m_startPnt.Y = 0.0f; m_endPnt.X = 1.0f; m_endPnt.Y = 0.0f; CalculateDirection(); CalculateBoundingBox(); }