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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close