|
MIRA
|
Represents a line segment that is spanned by two given points. More...
#include <geometry/Line.h>
Public Types | |
| typedef Point< T, D > | PointType |
Public Member Functions | |
| Line () | |
| Creates an uninitialized line segment. More... | |
| Line (const PointType &p1, const PointType &p2) | |
| Creates a line segment that is spanned by two given points. More... | |
| const PointType & | front () const |
| Returns a reference to the first point of the line segment. More... | |
| PointType & | front () |
| Returns a reference to the first point of the line segment. More... | |
| const PointType & | back () const |
| Returns a reference to the second point of the line segment. More... | |
| PointType & | back () |
| Returns a reference to the second point of the line segment. More... | |
| template<typename Reflector > | |
| void | reflect (Reflector &r) |
Public Attributes | |
| PointType | first |
| The two points of the line segment. More... | |
| PointType | second |
Represents a line segment that is spanned by two given points.
|
inline |
Creates an uninitialized line segment.
Creates a line segment that is spanned by two given points.
|
inline |
Returns a reference to the first point of the line segment.
|
inline |
Returns a reference to the first point of the line segment.
|
inline |
Returns a reference to the second point of the line segment.
|
inline |
Returns a reference to the second point of the line segment.
|
inline |
| PointType first |
The two points of the line segment.
| PointType second |
1.8.14