Search
RouteHeuristics Delegate
See Also
 





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

Namespace: MindFusion.Layout
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public delegate int RouteHeuristics (
    Point start,
    Point end
)

Visual Basic  Copy Code

Public Delegate Function RouteHeuristics( _
    start As Point, _
    end As Point _
) 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