Click or drag to resize

UTurnPolicy Enumeration

Indicates the u-turn policy. Use this to restrict or permit the route from making U-turns at junctions.

Namespace:  Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version:
public enum UTurnPolicy
  Member nameValueDescription
NotAllowed0 U-turns are prohibited at all junctions, intersections and dead-ends. Note that even when this parameter value is chosen, the route can still make U-turns at stops. If you wish to prohibit U-turns even at the stops, you can set the appropriate value for the CurbApproach attribute of the stops.
AllowedAtDeadEnds1 U-turns are prohibited at all junctions and intersections and are permitted only at dead ends.
AllowedAtIntersections2Allow backtracking at intersections.
AllowedAtDeadEndsAndIntersections3Allow backtracking at dead ends and intersections.
In order to understand the parameter values, keep in mind that a junction is a point where only two streets intersect each other. If three or more streets intersect at a point, it is called as an intersection. The end of a cul-de-sac is deemed to be a dead-end.
See Also