User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shortestpath.heuristiccostmodifier

Table of Contents

ITGIS_ShortestPath.HeuristicCostModifier property

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ShortestPath.HeuristicCostModifier | Methods | Properties

Heuristic cost modifier.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public Double HeuristicCostModifier
{
  get {}
  set {}
}
' VisualBasic
Public Property HeuristicCostModifier As Double
  Get
  End Get
  Set(ByVal value As Double)
  End Set
End Property
// Oxygene
public
  property HeuristicCostModifier : Double read read;

Value

Type
double
Double

Remarks

By providing a negative value all calculation will be done based on layers coordinate system (w/o use of projection code) which is generally much faster but will work only if layer is equidistant.

Cost modifier for heuristic cost calculation for built in heuristic algorithm.

Set 0 to disable heuristic calculations. General formula for cost will be an average cost for traversing in a straight (as the crow flies) line between current node and the end node.

2020/05/07 01:04

Page Tools