how determine the order of poligon (clockwise or reverse)

Sep 30, 2008 at 4:43 PM
Edited Sep 30, 2008 at 5:12 PM
hi, I need determine the order of construction of a geometry (wkt) to know if is clockwise or reverse construction. because some poligons are spetial conditions i unknow how determine this. I not found on Sharpmap any function but unknow if NTS have any function (based on JTS).

Plus need reverse the poligon, NTS remember have a function to make this but unknow how use.
please is very important,

regards.


Coordinator
Sep 30, 2008 at 5:46 PM
Hi Ojarana, in NTS v2 ILinearRing has IsCCW as a property otherwise in v1.x see NonRobustCGAlgorithms.IsCCW