rpos::core::Line Class
Line present line in map
Header Files
rpos/core/geometry.h
Applies to
- Slamware
- Mapper
Constructors
/**
* Construct a line object, and start point and end poit is (0,0).
*/
Line();
/**
* Construct a line object, specific start end end point.
*/
Line(const Point &startP, const Point &endP);
/**
* Construct a line object, specific start point, end point and id.
*/
Line(const Point &startP, const Point &endP, int id);
/**
* Copy Constructor.
*/
Line(const Line&);
Operators
/**
* Assignment operator.
*/
Line& operator=(const Line&);
Methods
/**
* start point.
*/
Point& startP();
const Point& startP() const;
/**
* end point.
*/
Point& endP();
const Point& endP() const;
/**
* line id.
*/
SegmentID& id();
const SegmentID& id() const