class Enlighten::Line2D
A line in 2D defined by two points.
Variables
Functions
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. |
Enlighten::Line2D::Line2D
public: Line2D()
Default constructor initialising the line to a point at (0,0).
Enlighten::Line2D::Line2D
public: Line2D
(
const Vertex2D & a,
const Vertex2D & b
)
Constructor defining two points on the line.