paulsmith / gogeos

Go library for spatial data operations and geometric algorithms (Go bindings for GEOS)
http://paulsmith.github.io/gogeos/
MIT License
280 stars 79 forks source link

add IsCCW method #38

Open ruierzhao opened 1 year ago

ruierzhao commented 1 year ago

the ESRI shapefile depends on whether the coordinates are clockwise or counterclockwise to determine internal and external polygons. This library seem to does not have a function to determine whether the coordinate-squeue is counterclockwise. I have implemented one using pure Golang, hoping to be helpful to you.