DK for Delphi | GisAggregator.TGIS_AggregatorClusteringHexagonalGridPointy | Classes | Constructors | Fields | Methods | Properties
This class implements the clustering method using a pointy-topped hexagonal grid.
// Delphi type TGIS_AggregatorClusteringHexagonalGridPointy = class( TGIS_AggregatorClusteringHexagonalGridAbstract ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_AggregatorClusteringHexagonalGridPointy : public TGIS_AggregatorClusteringHexagonalGridAbstract { };
→ TGIS_BaseObjectDisposable → TGIS_DynamicAggregatorAbstract → TGIS_AggregatorAbstract → TGIS_AggregatorClusteringAbstract → TGIS_AggregatorClusteringHexagonalGridAbstract
Name | Visibility | Description | |
---|---|---|---|
Create | public | Create a processor instance. (Overrides TGIS_AggregatorClusteringHexagonalGridAbstract.Create) |
|
Name | Visibility | Description | |
---|---|---|---|
useConfig | protected | If true then initialization of visual appearance is blocked because it is going to be read from a project/config file. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
Name | Visibility | Description | |
---|---|---|---|
AddShape(TGIS_Shape; TObject) | public | Adds a new shape to be drawn (Inherited from TGIS_DynamicAggregatorAbstract) |
|
AddShape(TGIS_Shape; Variant; TGIS_UidArray) | public | Adds a new shape to be drawn (Inherited from TGIS_DynamicAggregatorAbstract) |
|
applyConfigOptions | protected | Read config option parameters. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
Copy | public | Creates a copy of the dynamic aggregator. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
HideShape | public | Hide a shape against being drawn. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
Prepare | public | Prepares dynamic shapes. (Inherited from TGIS_AggregatorAbstract) |
|
SetUp | public | Perform internal aggregator setup. (Inherited from TGIS_AggregatorAbstract) |
|
storeConfigOptions | protected | Write config option parameters. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
useShapeType | protected | Set shape type t be used by aggregator. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
Name | Visibility | Description | |
---|---|---|---|
Caption | public | User friendly name (translated). (Inherited from TGIS_DynamicAggregatorAbstract) |
|
IsPreparing | public | True if aggregator is executing Prepare(). (Inherited from TGIS_DynamicAggregatorAbstract) |
|
Layer | public | Layer on which the processor is constructed. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
Name | public | Unique aggregator name. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
Radius | public | A radius within which shapes will be aggregated. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
RadiusAsText | public | A radius within which shapes will be aggregated expressed in human readable form, like '10pt', '3in'.Uses AsText parameter syntax. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
Threshold | public | Minimum number of shapes to form an aggregator. (Inherited from TGIS_DynamicAggregatorAbstract) |
|
![]() | ![]() | ![]() |
ClusteringSquareGrid | ClusteringHexagonalGridFlat | ClusteringHexagonalGridPointy |
Aggregation is available through the Layer Properties Control and is stored to the project file.
The recommended way to construct an aggregator is use TGIS_DynamicAggregatorFactory. It is also possible to directly assign an instance of a class that inherits from TGIS_AggregatorAbstract.
Please note that TGIS_LayerVector.DynamicAggregator owns an object, therefore the aggregator should not be freed directly.
// attach aggregator layer.DynamicAggregator := TGIS_DynamicAggregatorFactory.CreateInstance( 'ClusteringHexagonalGridPointy', layer ) ; // detach aggregator layer.DynamicAggregator := nil ;
// attach aggregator layer->DynamicAggregator = TGIS_DynamicAggregatorFactory::CreateInstance( "ClusteringHexagonalGridPointy", layer ) ; // deatch aggregator layer->DynamicAggregator = NULL ;