User Tools

Site Tools


api:dk11:python:tatukgis_pdk.tgis_nodeheuristiccostevent_tobject_tgis_networknode_tgis_networknode_double

Table of Contents

TGIS_NodeHeuristicCostEvent prototype

Event for the heuristic cost calculation.

Syntax

# Python
# It is a pseudo-prototype for method. Used only for documentation purposes.
def TGIS_NodeHeuristicCostEvent(
  self,
  _sender: TObject,
  _from: TGIS_NetworkNode,
  _to: TGIS_NetworkNode,
  _cost: VarParameter
) -> None: 

Parameters

Name Type Description
_sender TObject sender object
_from TGIS_NetworkNode first node for cost calculation
_to TGIS_NetworkNode second node for cost calculation
_cost float calculated average cost for straight-distance calculations
2026/07/11 00:02

Page Tools