noos::object::face Class Reference

describes a face coordinate (cartesian) More...

#include <face.hpp>

Public Member Functions

 face (const json::const_iterator &face_it)
 Constructor using json for modern C++
 
json::object_t to_json () const
 
bool operator== (const face &rhs) const
 Equality operator.
 
void up_left_point (const json::const_iterator &coord_it)
 Method to find the up_left_point information from json data.
 
void down_right_point (const json::const_iterator &coord_it)
 Method to find the down_right_point information from json data.
 

Public Attributes

float top_left_x
 coordinate x of the top left corner
 
float top_left_y
 coordinate y of the top left corner
 
float bottom_right_x
 coordinate x of the bottom right corner
 
float bottom_right_y
 coordinate y of the bottom right corner
 

Detailed Description

describes a face coordinate (cartesian)

Version
0.7.3
Date
10 June 2017
Author
Alex Gkiokas a.gki.nosp@m.okas.nosp@m.@orte.nosp@m.lio..nosp@m.co.uk
Collaboration diagram for noos::object::face:

Member Function Documentation

json::object_t noos::object::face::to_json ( ) const
Returns
json object

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