MindFusion.Wpf Pack Programmer's Guide
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.Wpf

 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

MindFusion.Layout Namespace