
13 Nov
2009
13 Nov
'09
10:44 a.m.
Barend Gehrels wrote:
It is clockwise because of our OGC convention, which has clockwise only.
I had forgotten about that. Shouldn't the fact you're following OGC conventions appear more clearly in the documentation though? I didn't notice it when browsing it quickly.
So we began with clockwise and existing users use clockwise polygons. It's inconvenient to remove or change the default in ggl::polygon. However, the default can be removed from the Polygon Concept. polygon and Polygon do not necessarily have to have the same defaults.
Having them be different would break the principle of least surprise, so I think it's best to keep it that way.