26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_TRIANGLE_H
27 #define __TERRALIB_GEOMETRY_INTERNAL_TRIANGLE_H
#define TE_DEFINE_VISITABLE
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
An Envelope defines a 2D rectangular region.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
Triangle is a polygon with 3 distinct, non-collinear vertices and no interior boundary.
double r
circunference radius
std::size_t number_of_children
number of children of the triangle
Triangle & operator=(const Triangle &rhs)
Assignment operator.
std::vector< Triangle > children
references to the children of the triangle
Triangle(const Triangle &rhs)
Copy constructor.
Triangle(GeomType t, int srid=0, Envelope *mbr=0)
It initializes the Geometry with the specified spatial reference system id and envelope.
int triangle_index
triangle index in vector
Triangle(std::size_t nRings, GeomType t, int srid=0, Envelope *mbr=0)
It initializes the Geometry with the specified spatial reference system id and envelope.
std::size_t number_of_parents
number of parents of the triangle
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.