User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_isochronemap.generate_tgis_layervector_tgis_shortestpath_tgis_layervector_tgis_shapetype_tgis_point_double_double

TGIS_IsochroneMap.Generate method

DK11 for .NET | TatukGIS.NDK.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).

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public bool Generate(
  TGIS_LayerVector _src,
  TGIS_ShortestPath _spath,
  TGIS_LayerVector _dst,
  TGIS_ShapeType _type,
  TGIS_Point _start,
  double _cost,
  double _intrvl
);
' VisualBasic
Public Function Generate(
  ByVal _src As TGIS_LayerVector,
  ByVal _spath As TGIS_ShortestPath,
  ByVal _dst As TGIS_LayerVector,
  ByVal _type As TGIS_ShapeType,
  ByVal _start As TGIS_Point,
  ByVal _cost As Double,
  ByVal _intrvl As Double
) As Boolean
// Oxygene
public
  function Generate(
    _src : TGIS_LayerVector;
    _spath : TGIS_ShortestPath;
    _dst : TGIS_LayerVector;
    _type : TGIS_ShapeType;
    _start : TGIS_Point;
    _cost : Double;
    _intrvl : Double
  ) : Boolean;

Parameters

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
Double
maximum cost of traversing the network
_intrvl double
Double
cost interval; only the first node which exceeds each interval will be added to the output

Result

Type Description
bool
Boolean
True if the operation went successful

Remarks

Choosing each output shape type will yield different result:

  • point - reachable network nodes as separate shapes,
  • multipoint - reachable network nodes as one shape,
  • arc - reachable network links as separate shapes,
  • polygon - concave hull of the reachable network.

References

2020/05/07 01:16

Page Tools