DK11 for Delphi | GisIsochroneMap.TGIS_IsochroneMap.Generate | Constructors | Methods | Properties
Finds the network area reachable within a given cost and outputs the result to the destination layer as shape(s).
// Delphi public function Generate( const _src : TGIS_LayerVector; const _spath : TGIS_ShortestPath; const _dst : TGIS_LayerVector; const _type : TGIS_ShapeType; const _start : TGIS_Point; const _cost : Double; const _intrvl : Double ) : Boolean;
// C++ Builder public: bool Generate( TGIS_LayerVector* const _src, TGIS_ShortestPath* const _spath, TGIS_LayerVector* const _dst, TGIS_ShapeType* const _type, TGIS_Point* const _start, const double _cost, const double _intrvl );
Name | Type | Description |
---|---|---|
_src | TGIS_LayerVector | source layer which contains the network |
_spath | TGIS_ShortestPath | shortest path object for the source layer |
_dst | TGIS_LayerVector | destination layer |
_type | TGIS_ShapeType | output shape type |
_start | TGIS_Point | starting point; if not a network node then the nearest network node will be used as the starting point |
_cost | Double | maximum cost of traversing the network |
_intrvl | Double | cost interval; only the first node which exceeds each interval will be added to the output |
Type | Description |
---|---|
Boolean | True if the operation went successful |
Choosing each output shape type will yield different result: