![]() |
TerraLib 4.1
|
#include <TeComputeAttributeStrategies.h>
Public Member Functions | |
| TeCountObjectsStrategy (TeTheme *theme_, TeGeomRep geom_) | |
| Constructor. | |
| virtual | ~TeCountObjectsStrategy () |
| Destructor. | |
| virtual string | compute (TeBox box) |
| Function to compute the attribute. | |
| virtual TeAttrDataType | Type () |
| This class generates TeINT attributes. | |
Class to count the elements in a given box This class returns the number of elements whose BOX intercepts the box in the argument of compute For safety, use the count classes that inherit this one
Constructor.
| virtual TeCountObjectsStrategy::~TeCountObjectsStrategy | ( | ) | [inline, virtual] |
Destructor.
Function to compute the attribute.
Implements TeComputeSpatialStrategy.
Reimplemented in TeCountPolygonalObjectsStrategy, and TeCountLineObjectsStrategy.
| virtual TeAttrDataType TeCountObjectsStrategy::Type | ( | ) | [inline, virtual] |
This class generates TeINT attributes.
Reimplemented from TeComputeSpatialStrategy.