A line in 2D defined by two points.
Name | Description |
---|---|
Vertex2D m_A | First point. |
Vertex2D m_B | Second point. |
Name | Description |
---|---|
Line2D() | Default constructor initialising the line to a point at (0,0). |
Line2D(const Vertex2D &, const Vertex2D &) | Constructor defining two points on the line. |
public: Line2D()
Default constructor initialising the line to a point at (0,0).
public: Line2D
(
const Vertex2D & a,
const Vertex2D & b
)
Constructor defining two points on the line.