|
GTXclient C++ API
GTXserver-16.0.2
|
Class for handling an individual Polygon of a Polygon System. More...
#include <GTXPolygon.hpp>
Public Member Functions | |
| GTXPolygon () | |
| Empty Constructor. | |
| GTXPolygon (const GTXPolygon &fseg) | |
| Copy Constructor. | |
| GTXPolygon | operator= (const GTXPolygon &fseg) |
| Operator equals. | |
| ~GTXPolygon () | |
| Destructor. | |
| const char * | GetName () const |
| Get value from name attribute of a Polygon. More... | |
| const char * | GetGroupName () const |
| Get value from group_name attribute of a Polygon. More... | |
| double | GetZMin () const |
| Get value from z_min attribute of a Polygon. More... | |
| double | GetZMax () const |
| Get value from z_max attribute of a Polygon. More... | |
| int | GetVerticesNumber () const |
| Get value from n_vertices attribute of a Polygon. More... | |
| double | GetXVertices (int rank) const |
| Get value from Xvertices attribute of a Polygon. More... | |
| double | GetYVertices (int rank) const |
| Get value from Yvertices attribute of a Polygon. More... | |
| void | SetName (const char *name) |
| Set value from name attribute of a Polygon. More... | |
| void | SetGroupName (const char *group_name) |
| Set value from group_name attribute of a Polygon. More... | |
| void | SetZMin (double z_min) |
| Set value from ZMin attribute of a Polygon. More... | |
| void | SetZMax (double z_max) |
| Set value from ZMax attribute of a Polygon. More... | |
| void | AddVertex (double x, double y) |
| add value vertices of a Polygon More... | |
Friends | |
| class | GTXClient |
| class | GTXPolygonSystem |
Class for handling an individual Polygon of a Polygon System.
| void GTXPolygon::AddVertex | ( | double | x, |
| double | y | ||
| ) |
add value vertices of a Polygon
This function add veritives of a Polygon
| x,y | vertex position |
| const char * GTXPolygon::GetGroupName | ( | ) | const |
Get value from group_name attribute of a Polygon.
This function reads the value from group_name attribute of a Polygon
| const char * GTXPolygon::GetName | ( | ) | const |
Get value from name attribute of a Polygon.
This function reads the value from name attribute of a Polygon
| int GTXPolygon::GetVerticesNumber | ( | ) | const |
Get value from n_vertices attribute of a Polygon.
This function reads the value from n_vertices attribute of a Polygon
| double GTXPolygon::GetXVertices | ( | int | rank | ) | const |
Get value from Xvertices attribute of a Polygon.
This function reads the value from Xvertices attribute of a Polygon
| double GTXPolygon::GetYVertices | ( | int | rank | ) | const |
Get value from Yvertices attribute of a Polygon.
This function reads the value from Yvertices attribute of a Polygon
| double GTXPolygon::GetZMax | ( | ) | const |
Get value from z_max attribute of a Polygon.
This function reads the value from z_max attribute of a Polygon
| double GTXPolygon::GetZMin | ( | ) | const |
Get value from z_min attribute of a Polygon.
This function reads the value from z_min attribute of a Polygon
| void GTXPolygon::SetGroupName | ( | const char * | group_name | ) |
Set value from group_name attribute of a Polygon.
This function changes the value from group_name attribute of a Polygon
| group_name | group_name |
| void GTXPolygon::SetName | ( | const char * | name | ) |
Set value from name attribute of a Polygon.
This function changes the value from name attribute of a Polygon
| name | name |
| void GTXPolygon::SetZMax | ( | double | z_max | ) |
Set value from ZMax attribute of a Polygon.
This function changes the value from ZMax attribute of a Polygon
| z_max | ZMax |
| void GTXPolygon::SetZMin | ( | double | z_min | ) |
Set value from ZMin attribute of a Polygon.
This function changes the value from ZMin attribute of a Polygon
| z_min | ZMin |