Select to view content in your preferred language

How do I determine winding order of polygons ?

3087
2
03-17-2016 06:31 PM
MarcHillman
Regular Contributor

I assume that outer boundary polygons are clockwise, and inner boundary anti-clockwise. If so, how do I determine the winding direction of a polygon?

0 Kudos
2 Replies
MarcHillman
Regular Contributor

I need to do it on a part basis, i.e. I have a single polygon as a Esri.ArcGISRuntime.Geometry.ReadOnlySegmentCollection. Esri.ArcGISRuntime.Geometry.GeometryEngine.Area won't accept this as it's not "Geometry"

0 Kudos
MarcHillman
Regular Contributor

Still not answered. GeometryEngine.GeodesicArea returns a positive number no matter the winding direction.

0 Kudos