This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Constants > E > esriTurnDirectionEnum Constants (ArcObjects .NET 10.4 SDK) |
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. |
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