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(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.
double r
circunference radius
double yc
circumcenter coordinates of the circunference defined from the 3 points of the triangle
std::size_t number_of_children
number of children of the triangle
Triangle * adjacent[3]
references to the adjacentof 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.
Triangle * parents[2]
references to the parents of the triangle
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
Namespace for the Vector Geometry module of TerraLib.
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.