Rose
|
An abstraction of a line defined by two end points. More...
#include <ScreenMetrics.h>
Public Member Functions | |
constexpr | Line () noexcept |
Construct line of zero length. | |
constexpr | Line (const Position &p0, const Position &p1) |
Construct a line from p0 to p1. More... | |
constexpr | Line (const Line &)=default |
Copy constructor. | |
constexpr | Line (Line &&)=default |
Move Constructor. | |
constexpr Line & | operator= (const Line &)=default |
Copy assignment. | |
constexpr Line & | operator= (Line &&)=default |
Move assignment. | |
Protected Attributes | |
Position | mPoint0 |
One endpoint of the line. | |
Position | mPoint1 |
The other endpoint of the line. | |
An abstraction of a line defined by two end points.
Construct a line from p0 to p1.
p0 | An end point. |
p1 | An end point. |