rpos::core::Point Class
Point类用于表示二维空间中的点
Header Files
rpos/core/geometry.h
Applies to
- Slamware
- Mapper
Constructors
/**
* Create a new object, x and y set to 0.
*/
Point();
/**
* Create a new object with specific value.
*/
Point(float x, float y);
/**
* Copy constructor.
*/
Point(const Point&);
Operators
/**
* Assignment operator.
*/
Point& operator=(const Point&);
Methods
/**
* x field.
*/
float x() const;
float& x();
/**
* y field.
*/
float y() const;
float& y();