noos::object::point2d< value_type > Struct Template Reference
encapsulate point of 2 dimensions (x, y) More...
#include <point.hpp>
Public Member Functions | |
| point2d ()=default | |
| default constructor | |
| point2d (value_type x_data, value_type y_data) | |
| constructor taking parameters x and y | |
| point2d (const json::const_iterator &position) | |
| Construct using library "json for modern c++". | |
| json::object_t | to_json () const |
| bool | operator== (const noos::object::point2d< value_type > &rhs) const |
| Equality operator. | |
Public Attributes | |
| value_type | x = 0 |
| coordinate x | |
| value_type | y = 0 |
| coordinate y | |
Detailed Description
template<class value_type>
struct noos::object::point2d< value_type >
encapsulate point of 2 dimensions (x, y)
- Version
- 0.8.0
- Date
- 28.09.2017
Collaboration diagram for noos::object::point2d< value_type >:

Member Function Documentation
template<class value_type >
| json::object_t noos::object::point2d< value_type >::to_json | ( | ) | const |
- Returns
- a JSON object
The documentation for this struct was generated from the following file:
- noos/objects/point.hpp
