noos::object::pose2d< value_type > Struct Template Reference
encapsulate point of 2 dimensions (x, y) with an angle More...
#include <point.hpp>
Public Member Functions | |
pose2d ()=default | |
default constructor | |
pose2d (value_type x_data, value_type y_data, value_type theta_data) | |
constructor taking parameters x, y and theta | |
pose2d (const json::const_iterator &position) | |
Construct using library "json for modern c++". | |
json::object_t | to_json () const |
bool | operator== (const noos::object::pose2d< value_type > &rhs) const |
Equality operator. | |
Public Attributes | |
value_type | x = 0 |
coordinate x | |
value_type | y = 0 |
coordinate y | |
value_type | theta = 0 |
angle theta | |
Detailed Description
template<class value_type>
struct noos::object::pose2d< value_type >
encapsulate point of 2 dimensions (x, y) with an angle
- Version
- 0.8.0
- Date
- 18.10.2017
Collaboration diagram for noos::object::pose2d< value_type >:
Member Function Documentation
template<class value_type >
json::object_t noos::object::pose2d< value_type >::to_json | ( | ) | const |
- Returns
- a JSON object
The documentation for this struct was generated from the following file:
- noos/objects/point.hpp