dartclub / turf_dart

A turf.js-like geospatial analysis library working with GeoJSON, written in pure Dart.
https://pub.dev/packages/turf
MIT License
62 stars 28 forks source link

Implement rewind function and its tests #134

Open lukas-h opened 1 year ago

lukas-h commented 1 year ago

Polygon right hand rule -> clockwise / counter-clockwise rings

https://www.rfc-editor.org/rfc/rfc7946.html#section-3.1.6

A linear ring MUST follow the right-hand rule with respect to the
area it bounds, i.e., exterior rings are counterclockwise, and
holes are clockwise.