noos::object::point< value_type > Struct Template Reference

encapsulate point position vector More...

#include <point.hpp>

Public Member Functions

 point ()=default
 default constructor
 
 point (value_type x_data, value_type y_data, value_type z_data)
 constructor taking parameters x, y and z
 
 point (const json::const_iterator &position)
 Construct using library "json for modern c++".
 
json::object_t to_json () const
 
bool operator== (const noos::object::point< value_type > &rhs) const
 Equality operator.
 

Public Attributes

value_type x = 0
 coordinate x
 
value_type y = 0
 coordinate y
 
value_type z = 0
 coordinate z
 

Detailed Description

template<class value_type>
struct noos::object::point< value_type >

encapsulate point position vector

Version
0.7.0
Date
19 August 2016
Author
Alex Giokas a.gki.nosp@m.okas.nosp@m.@orte.nosp@m.lio..nosp@m.co.uk
Inheritance diagram for noos::object::point< value_type >:
Collaboration diagram for noos::object::point< value_type >:

Member Function Documentation

template<class value_type >
json::object_t noos::object::point< value_type >::to_json ( ) const
Returns
a JSON object

The documentation for this struct was generated from the following file: