ArcGIS Enterprise SDK
esriTurnDirectionEnum Constants
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.ArcGIS.Geometry > Constants > E > esriTurnDirectionEnum Constants
ArcGIS Developer Help

esriTurnDirectionEnum Constants

The way in which a turn can be made when walking from one segment to another segment connected to it. The 'to' point of the first must be the same as the 'from' point of the second.

Constant Value Description
esriNoTurn 1 The segments maintain same direction along tangent.
esriUTurn 2 The segments have opposite direction along tangent.
esriLeftTurn 4 The second segment moves to the left of the embedding geometry of the first segment.
esriRightTurn 8 The second segment moves to the right of the embedding geometry of the first segment.

Remarks

Describes the direction fo the turn between two connected segments.  Consecutive Segments have esriNoTurn if they share the same embedded or tangential geometry and continue in the same direction at the point of connection.  Consecutive Segments have esriUTurn if the share the same embedded or tangential geometry, but continue in opposite directions at the point of connection.  If the following Segment initially moves to the right of the embedded geometry, the consecutive Segments have esriRightTurn.  If the following Segment initially moves to the left of the embedded geometry, the consecutive Segments have esriLeftTurn.  If consecutive Segments are both tangential and moving to either the left or the right, they can return a combination of esriTurnDirectionEnums.

esriNoTurn    = Same embedded and tangential geometry, same direction
esriUTurn     = Same embedded and tangential geometry, opposite direction
esriLeftTurn  = Moves to the Left of the embedded geometry
esriRightTurn = Moves to the Right of the embedded geometry

esriTurnDirectionEnum Example