Search
RouteHeuristics Delegate
See Also
 






The link routing algorithm uses a heuristic function of this type in its prediction steps.

Namespace: MindFusion.Layout
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public delegate int RouteHeuristics (
    PointI start,
    PointI end
)

Visual Basic  Copy Code

Public Delegate Function RouteHeuristics( _
    start As PointI, _
    end As PointI _
) As Integer

 Parameters

start

A Point specifying the first of the points, between which the distance is calculated.

end

A Point specifying the first of the points, between which the distance is calculated.

 Return Value

An integer value indicating the calculated distance between the specified points.

 Remarks

Functions of this type can be assigned to the RouteHeuristics property of the RoutingOptions class.

 See Also