![]() |
TerraLib 4.1
|
A class that represents an instance in a time of a spatial object. More...
#include <TeSTInstance.h>
Public Member Functions | |
| TeSTInstance () | |
| Constructor. | |
| TeSTInstance (const string &object_id, TeProperty &prop) | |
| Deprecated: Constructor. | |
| TeSTInstance (const string &object_id, vector< string > &prop, TeAttributeList *attList=0, const int &s=-1) | |
| Constructor. | |
| TeSTInstance (const string &object_id, const TeMultiGeometry &geometries, const TeTimeInterval &time, const int &s=-1) | |
| Constructor. | |
| TeSTInstance (const string &object_id, vector< string > &prop, TeAttributeList *attList, TeMultiGeometry &geometries, int &slice, TeTimeInterval &time) | |
| Constructor. | |
| virtual void | clear () |
| Clear. | |
| virtual bool | isTimeValid () |
| Verifies if the its time is valid. | |
| bool | hasPolygons () |
| Deprecated: Verifies if the instance has polygons. | |
| bool | hasLines () |
| Deprecated: Verifies if the instance has lines. | |
| bool | hasPoints () |
| Deprecated: Verifies if the instance has points. | |
| bool | hasCells () |
| Deprecated: Verifies if the instance has cells. | |
| bool | hasTexts () |
| Deprecated: Return true if this has texts. | |
| bool | getGeometry (TePolygonSet &result) |
| Deprecated: Gets a copy of the ST instance polygon set. | |
| bool | getGeometry (TeLineSet &result) |
| Deprecated: Gets a copy of the ST instance line set. | |
| bool | getGeometry (TePointSet &result) |
| Deprecated: Gets a copy of the ST instance point set. | |
| bool | getGeometry (TeCellSet &result) |
| Deprecated: Gets a copy of the ST instance cell set. | |
| bool | getGeometry (TeTextSet &result) |
| Deprecated: Gets a copy of the ST instance text set. | |
| bool | getGeometry (vector< TeGeometry * > &result) |
| Deprecated: Gets a copy of the ST instance geometry vector. | |
| bool | getGeometry (TeMultiGeometry &result) |
| Deprecated: Gets a copy of the ST instance multi geometry. | |
| TePolygonSet & | getPolygons () |
| Deprecated: Get a reference to the ST instance polygon geometry. | |
| TeLineSet & | getLines () |
| Deprecated: Get a reference to the ST instance line geometry. | |
| TePointSet & | getPoints () |
| Deprecated: Get a reference to the ST instance point geometry. | |
| TeCellSet & | getCells () |
| Deprecated: Get a reference to the ST instance cell geometry. | |
| TeTextSet & | getTexts () |
| Deprecated: Get a reference to the ST instance text geometry. | |
| void | setGeometry (const TePolygonSet &result) |
| Deprecated: Sets a polygon set to the instance. | |
| void | setGeometry (const TeLineSet &result) |
| Deprecated: Sets a line set to the instance. | |
| void | setGeometry (const TePointSet &result) |
| Deprecated: Sets a point set to the instance. | |
| void | setGeometry (const TeCellSet &result) |
| Deprecated: Sets a cell set to the instance. | |
| void | setGeometry (const TeTextSet &result) |
| Deprecated: Sets a text set to the instance. | |
| void | setGeometry (const TeMultiGeometry &result) |
| Deprecated: Sets a text set to the instance. | |
| bool | addGeometry (const TePolygon &poly) |
| Deprecated: Adds a polygon to the instance. | |
| bool | addGeometry (const TeLine2D &line) |
| Deprecated: Adds a line to the instance. | |
| bool | addGeometry (const TePoint &point) |
| Deprecated: Adds a point to the instance. | |
| bool | addGeometry (const TeCell &cell) |
| Deprecated: Adds a cell to the instance. | |
| bool | addGeometry (const TeText &cell) |
| Deprecated: Adds a text to the instance. | |
| virtual void | centroid (TeCoord2D ¢roid, TeGeomRep geomRep=TeGEOMETRYNONE) |
| Returns a centroid of a geometry representation. | |
| virtual void | area (double &a, TeGeomRep geomRep=TeGEOMETRYNONE) |
| Returns an area of a geometry representation. | |
| virtual TeTimeInterval | timeInterval () |
| Deprecated: Returns the valid time. | |
| virtual void | timeInterval (const TeTimeInterval &t) |
| Deprecated: Sets the valid time interval. | |
| virtual string | getInitialDateTime (const string &mask="YYYYsMMsDDsHHsmmsSS") |
| Returns the initial time (as a string) of the valid time interval. | |
| virtual string | getFinalDateTime (const string &mask="YYYYsMMsDDsHHsmmsSS") |
| Returns the final time (as a string) of the valid time interval. | |
A class that represents an instance in a time of a spatial object.
A spatio-temporal instance (STInstance) is composite of an attribute set and geometries of a spatial element or object that are valid in a specific time. This class specializes the base class TeBaseSTInstance representing the geometries as multigeometries (TeMultiGeometry) and the valid time as a time interval (TeTimeInterval).
createSTElementSetFromLayer.cpp, createSTElementSetFromShapeFile.cpp, createSTElementSetFromTheme.cpp, proxMatrixAndSpatialStatistics.cpp, querierFromLayer.cpp, querierFromTheme.cpp, querierGroupChronon.cpp, querierGroupElement.cpp, querierGroupSpatialRest.cpp, querierWithSpatialRestBox.cpp, and querierWithSpatialRestGeometry.cpp.
| TeSTInstance::TeSTInstance | ( | ) | [inline] |
Constructor.
| TeSTInstance::TeSTInstance | ( | const string & | object_id, |
| TeProperty & | prop | ||
| ) |
Deprecated: Constructor.
| TeSTInstance::TeSTInstance | ( | const string & | object_id, |
| vector< string > & | prop, | ||
| TeAttributeList * | attList = 0, |
||
| const int & | s = -1 |
||
| ) | [inline] |
Constructor.
| TeSTInstance::TeSTInstance | ( | const string & | object_id, |
| const TeMultiGeometry & | geometries, | ||
| const TeTimeInterval & | time, | ||
| const int & | s = -1 |
||
| ) | [inline] |
Constructor.
| TeSTInstance::TeSTInstance | ( | const string & | object_id, |
| vector< string > & | prop, | ||
| TeAttributeList * | attList, | ||
| TeMultiGeometry & | geometries, | ||
| int & | slice, | ||
| TeTimeInterval & | time | ||
| ) | [inline] |
Constructor.
| bool TeSTInstance::addGeometry | ( | const TePolygon & | poly | ) |
Deprecated: Adds a polygon to the instance.
| bool TeSTInstance::addGeometry | ( | const TeLine2D & | line | ) |
Deprecated: Adds a line to the instance.
| bool TeSTInstance::addGeometry | ( | const TePoint & | point | ) |
Deprecated: Adds a point to the instance.
| bool TeSTInstance::addGeometry | ( | const TeCell & | cell | ) |
Deprecated: Adds a cell to the instance.
| bool TeSTInstance::addGeometry | ( | const TeText & | cell | ) |
Deprecated: Adds a text to the instance.
| void TeSTInstance::area | ( | double & | a, |
| TeGeomRep | geomRep = TeGEOMETRYNONE |
||
| ) | [virtual] |
Returns an area of a geometry representation.
Returns a centroid of a geometry representation.
| void TeSTInstance::clear | ( | void | ) | [virtual] |
Clear.
Reimplemented from TeBaseSTInstance< TeMultiGeometry, TeTimeInterval >.
| TeCellSet & TeSTInstance::getCells | ( | ) |
Deprecated: Get a reference to the ST instance cell geometry.
| virtual string TeSTInstance::getFinalDateTime | ( | const string & | mask = "YYYYsMMsDDsHHsmmsSS" | ) | [inline, virtual] |
Returns the final time (as a string) of the valid time interval.
| bool TeSTInstance::getGeometry | ( | TePolygonSet & | result | ) |
Deprecated: Gets a copy of the ST instance polygon set.
| bool TeSTInstance::getGeometry | ( | TeLineSet & | result | ) |
Deprecated: Gets a copy of the ST instance line set.
| bool TeSTInstance::getGeometry | ( | TePointSet & | result | ) |
Deprecated: Gets a copy of the ST instance point set.
| bool TeSTInstance::getGeometry | ( | TeCellSet & | result | ) |
Deprecated: Gets a copy of the ST instance cell set.
| bool TeSTInstance::getGeometry | ( | TeTextSet & | result | ) |
Deprecated: Gets a copy of the ST instance text set.
| bool TeSTInstance::getGeometry | ( | vector< TeGeometry * > & | result | ) |
Deprecated: Gets a copy of the ST instance geometry vector.
| bool TeSTInstance::getGeometry | ( | TeMultiGeometry & | result | ) |
Deprecated: Gets a copy of the ST instance multi geometry.
| virtual string TeSTInstance::getInitialDateTime | ( | const string & | mask = "YYYYsMMsDDsHHsmmsSS" | ) | [inline, virtual] |
Returns the initial time (as a string) of the valid time interval.
| TeLineSet & TeSTInstance::getLines | ( | ) |
Deprecated: Get a reference to the ST instance line geometry.
| TePointSet & TeSTInstance::getPoints | ( | ) |
Deprecated: Get a reference to the ST instance point geometry.
| TePolygonSet & TeSTInstance::getPolygons | ( | ) |
Deprecated: Get a reference to the ST instance polygon geometry.
| TeTextSet & TeSTInstance::getTexts | ( | ) |
Deprecated: Get a reference to the ST instance text geometry.
| bool TeSTInstance::hasCells | ( | ) |
Deprecated: Verifies if the instance has cells.
| bool TeSTInstance::hasLines | ( | ) |
Deprecated: Verifies if the instance has lines.
| bool TeSTInstance::hasPoints | ( | ) |
Deprecated: Verifies if the instance has points.
| bool TeSTInstance::hasPolygons | ( | ) |
Deprecated: Verifies if the instance has polygons.
| bool TeSTInstance::hasTexts | ( | ) |
Deprecated: Return true if this has texts.
| bool TeSTInstance::isTimeValid | ( | ) | [virtual] |
Verifies if the its time is valid.
Reimplemented from TeBaseSTInstance< TeMultiGeometry, TeTimeInterval >.
| void TeSTInstance::setGeometry | ( | const TeCellSet & | result | ) |
Deprecated: Sets a cell set to the instance.
| void TeSTInstance::setGeometry | ( | const TeMultiGeometry & | result | ) | [virtual] |
Deprecated: Sets a text set to the instance.
Reimplemented from TeBaseSTInstance< TeMultiGeometry, TeTimeInterval >.
| void TeSTInstance::setGeometry | ( | const TeLineSet & | result | ) |
Deprecated: Sets a line set to the instance.
| void TeSTInstance::setGeometry | ( | const TeTextSet & | result | ) |
Deprecated: Sets a text set to the instance.
| void TeSTInstance::setGeometry | ( | const TePointSet & | result | ) |
Deprecated: Sets a point set to the instance.
| void TeSTInstance::setGeometry | ( | const TePolygonSet & | result | ) |
Deprecated: Sets a polygon set to the instance.
| virtual void TeSTInstance::timeInterval | ( | const TeTimeInterval & | t | ) | [inline, virtual] |
Deprecated: Sets the valid time interval.
| virtual TeTimeInterval TeSTInstance::timeInterval | ( | ) | [inline, virtual] |
Deprecated: Returns the valid time.