Struct representing a single 2D polyline or polygon. More...
#include <tango_3d_reconstruction_api.h>
Public Attributes | |
double | area |
bool | closed |
Tango3DR_FloorplanLayer | layer |
Floor plan layer to which this path belongs to. More... | |
uint32_t | num_vertices |
Number of vertices contained in the vertices array. More... | |
Tango3DR_Vector2 * | vertices |
2D points. More... | |
Struct representing a single 2D polyline or polygon.
Definition at line 356 of file tango_3d_reconstruction_api.h.
double Tango3DR_Polygon::area |
Surface area of the path. A negative number indicates that this polygon represents a hole (in a bigger polygon).
Definition at line 372 of file tango_3d_reconstruction_api.h.
bool Tango3DR_Polygon::closed |
If true, indicates that the path is closed, i.e., the last and the first vertex are connected.
Definition at line 362 of file tango_3d_reconstruction_api.h.
Tango3DR_FloorplanLayer Tango3DR_Polygon::layer |
Floor plan layer to which this path belongs to.
Definition at line 365 of file tango_3d_reconstruction_api.h.
uint32_t Tango3DR_Polygon::num_vertices |
Number of vertices contained in the vertices
array.
Definition at line 358 of file tango_3d_reconstruction_api.h.
Tango3DR_Vector2* Tango3DR_Polygon::vertices |
2D points.
Definition at line 368 of file tango_3d_reconstruction_api.h.