DK11 for Delphi | GisNetwork.TGIS_Network | Classes | Constructors | Fields | Methods | Properties | Events
Class for storing and retrieving network graph for TGIS_ShortestPathLink purposes and other network analysis classes.
// Delphi type TGIS_Network = class( TGIS_BaseObjectDisposable ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_Network : public TGIS_BaseObjectDisposable { };
Name | Visibility | Description | |
---|---|---|---|
Create | public | Create a new network on provided layer | |
Name | Visibility | Description | |
---|---|---|---|
arNodes | protected | array of nodes residing in memory. | |
FLayer | protected | Associated layer. | |
FOnLink | protected | Event for the link cost calculation. | |
FStoragePath | protected | Path to the network storage file. | |
linksId | protected | Last generated links id. | |
lstLinks | protected | List of links resides in memory. | |
lstNodes | protected | List of nodes residing in memory. | |
nodesId | protected | Last generated nodes id. | |
oRtree | protected | Nodes index (for in memory objects) | |
oStorage | protected | Persistent network storage file. | |
tmpLink | protected | Storage for temporary link use for getLink operations | |
Name | Visibility | Description | |
---|---|---|---|
AddNode | public | Add a node at the specific location. | |
AddShape | public | Add new shape to the network. | |
Clean | public | Clean the network to prepare it for next searching. | |
CleanDynamicLinks | public | Clean all dynamic links like created by geocoder. | |
Delete | public | Delete saved network. | |
FindNode(TGIS_Point; Double) | public | Find closest node corresponding to provided location regardless of the nide level. | |
FindNode(TGIS_Point; Double; ShortInt) | public | Find closest node corresponding to provided location. | |
GetLink | public | Read from network (storage or memory) a link corresponding to provided ObjectId | |
GetNode | public | Read from network (storage or memory) a node corresponding to provided ObjectId | |
GetShape | public | Get shape object from the network corresponding to provided link identifier | |
Open | public | Open network (must exists first | |
Serialize | public | Save current network to the underlying storage | |
Name | Visibility | Description | |
---|---|---|---|
Layer | published | Network base layer. | |
Ready | public | True if network is properly generated. | |
Name | Visibility | Description | |
---|---|---|---|
LinkEvent | published | Event fired upon calling AddShape procedure. | |