![]() |
TerraLib 4.1
|
#include <TeMultiGeometry.h>
Public Member Functions | |
| TeMultiGeometry () | |
| Constructor. | |
| TeMultiGeometry (const TeMultiGeometry &other) | |
| Copy constructor. | |
| TeMultiGeometry & | operator= (const TeMultiGeometry &other) |
| Assignment operator. | |
| bool | getGeometry (TePolygonSet &result) const |
| Get a copy of polygon geometries. Return true if the geometries exit. | |
| bool | getGeometry (TeLineSet &result) const |
| Get a copy of line geometries. Return true if the geometries exit. | |
| bool | getGeometry (TePointSet &result) const |
| Get a copy of point geometries. Return true if the geometries exit. | |
| bool | getGeometry (TeCellSet &result) const |
| Get a copy of cell geometries. Return true if the geometries exit. | |
| bool | getGeometry (TeTextSet &result) const |
| Get a copy of text geometries. Return true if the geometries exit. | |
| TePolygonSet & | getPolygons () |
| Get a reference to the polygon geometry container. | |
| TeLineSet & | getLines () |
| Get a reference to the line geometry container. | |
| TePointSet & | getPoints () |
| Get a reference to the point geometry container. | |
| TeCellSet & | getCells () |
| Get a reference to the cell geometry container. | |
| TeTextSet & | getTexts () |
| Get a reference to the text geometry container. | |
| bool | getGeometry (vector< TeGeometry * > &result) |
| Get all geometries. Return true if the geometries exit. | |
| void | setGeometry (const TePolygonSet &result) |
| Set polygon geometries. | |
| void | setGeometry (const TeLineSet &result) |
| Set line geometries. | |
| void | setGeometry (const TePointSet &result) |
| Set point geometries. | |
| void | setGeometry (const TeCellSet &result) |
| Set cell geometries. | |
| void | setGeometry (const TeTextSet &result) |
| Set text geometries. | |
| void | setGeometry (vector< TeGeometry * > &result) |
| Set all geometries. | |
| void | addGeometry (const TePolygon &poly) |
| Add polygon geometry. | |
| void | addGeometry (const TeLine2D &line) |
| Add line geometry. | |
| void | addGeometry (const TePoint &point) |
| Add point geometry. | |
| void | addGeometry (const TeCell &cell) |
| Add cell geometry. | |
| void | addGeometry (const TeText &text) |
| Add cell geometry. | |
| bool | hasPolygons () const |
| Return true if this has polygons. | |
| bool | hasLines () const |
| Return true if this has lines. | |
| bool | hasPoints () const |
| Return true if this has points. | |
| bool | hasCells () const |
| Return true if this has cells. | |
| bool | hasTexts () const |
| Return true if this has cells. | |
| bool | empty () |
| Return true if there are not any geometry. | |
| void | clear () |
| Clear geometries. | |
| TeBox | getBox () |
| Get the total extension of the multi-geometry. | |
| TeBox | box () |
| Get the total extension of the multi-geometry. | |
Public Attributes | |
| TePolygonSet | polygons_ |
| TeLineSet | lines_ |
| TePointSet | points_ |
| TeCellSet | cells_ |
| TeTextSet | texts_ |
| TeMultiGeometry::TeMultiGeometry | ( | ) | [inline] |
Constructor.
| TeMultiGeometry::TeMultiGeometry | ( | const TeMultiGeometry & | other | ) |
Copy constructor.
| void TeMultiGeometry::addGeometry | ( | const TePolygon & | poly | ) |
Add polygon geometry.
| void TeMultiGeometry::addGeometry | ( | const TeLine2D & | line | ) |
Add line geometry.
| void TeMultiGeometry::addGeometry | ( | const TePoint & | point | ) |
Add point geometry.
| void TeMultiGeometry::addGeometry | ( | const TeCell & | cell | ) |
Add cell geometry.
| void TeMultiGeometry::addGeometry | ( | const TeText & | text | ) |
Add cell geometry.
| TeBox TeMultiGeometry::box | ( | ) | [inline] |
Get the total extension of the multi-geometry.
| void TeMultiGeometry::clear | ( | void | ) |
Clear geometries.
| bool TeMultiGeometry::empty | ( | ) | [inline] |
Return true if there are not any geometry.
| TeBox TeMultiGeometry::getBox | ( | void | ) |
Get the total extension of the multi-geometry.
| TeCellSet& TeMultiGeometry::getCells | ( | ) | [inline] |
Get a reference to the cell geometry container.
| bool TeMultiGeometry::getGeometry | ( | TePolygonSet & | result | ) | const |
Get a copy of polygon geometries. Return true if the geometries exit.
| bool TeMultiGeometry::getGeometry | ( | TeCellSet & | result | ) | const |
Get a copy of cell geometries. Return true if the geometries exit.
| bool TeMultiGeometry::getGeometry | ( | TePointSet & | result | ) | const |
Get a copy of point geometries. Return true if the geometries exit.
| bool TeMultiGeometry::getGeometry | ( | TeLineSet & | result | ) | const |
Get a copy of line geometries. Return true if the geometries exit.
| bool TeMultiGeometry::getGeometry | ( | TeTextSet & | result | ) | const |
Get a copy of text geometries. Return true if the geometries exit.
| bool TeMultiGeometry::getGeometry | ( | vector< TeGeometry * > & | result | ) |
Get all geometries. Return true if the geometries exit.
| TeLineSet& TeMultiGeometry::getLines | ( | ) | [inline] |
Get a reference to the line geometry container.
| TePointSet& TeMultiGeometry::getPoints | ( | ) | [inline] |
Get a reference to the point geometry container.
| TePolygonSet& TeMultiGeometry::getPolygons | ( | ) | [inline] |
Get a reference to the polygon geometry container.
| TeTextSet& TeMultiGeometry::getTexts | ( | ) | [inline] |
Get a reference to the text geometry container.
| bool TeMultiGeometry::hasCells | ( | ) | const [inline] |
Return true if this has cells.
| bool TeMultiGeometry::hasLines | ( | ) | const [inline] |
Return true if this has lines.
| bool TeMultiGeometry::hasPoints | ( | ) | const [inline] |
Return true if this has points.
| bool TeMultiGeometry::hasPolygons | ( | ) | const [inline] |
Return true if this has polygons.
| bool TeMultiGeometry::hasTexts | ( | ) | const [inline] |
Return true if this has cells.
| TeMultiGeometry & TeMultiGeometry::operator= | ( | const TeMultiGeometry & | other | ) |
Assignment operator.
| void TeMultiGeometry::setGeometry | ( | vector< TeGeometry * > & | result | ) |
Set all geometries.
| void TeMultiGeometry::setGeometry | ( | const TePointSet & | result | ) |
Set point geometries.
| void TeMultiGeometry::setGeometry | ( | const TeTextSet & | result | ) |
Set text geometries.
| void TeMultiGeometry::setGeometry | ( | const TeCellSet & | result | ) |
Set cell geometries.
| void TeMultiGeometry::setGeometry | ( | const TeLineSet & | result | ) |
Set line geometries.
| void TeMultiGeometry::setGeometry | ( | const TePolygonSet & | result | ) |
Set polygon geometries.