<div dir="ltr"><div class="gmail_extra">The idea was that adding functions with different names would be helpful, because "RHR" and "LHR" mean different things to different people (and therefore don't mean much of anything.)</div><div class="gmail_extra"><br></div><div class="gmail_extra">See, for example, the fourth bullet under <a href="https://tools.ietf.org/html/rfc7946#section-3.1.6">https://tools.ietf.org/html/rfc7946#section-3.1.6</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">Dan</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 8, 2017 at 2:35 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@kbt.io" target="_blank">strk@kbt.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Wed, Feb 08, 2017 at 11:35:01AM -0500, Daniel Baston wrote:<br>
> Sorry, I'm not sure I understand which direction you're asking me to<br>
> pursue.  Are you asking that I write some new functions ST_IsCW and<br>
> ST_IsCCW that apply _only_ to LineStrings, and then rename the four<br>
> functions proposed in the PR to something else?<br>
<br>
</span>I'd love ST_IsCW, ST_IsCCW, ST_ForceCW and ST_ForceCCW that only apply<br>
to _closed_ LineStrings, raising an error on anything else.<br>
<br>
As for polygons, the only missing functionality I see would be an<br>
ST_IsRHR, to be a companion to ST_ForceRHR.<br>
<br>
I still hadn't checked what ST_ForceLHR does. Hopefully it's just<br>
the reverse of ST_ForceRHR, in which case we could just make sure<br>
to make it available even when SFCGAL is not in place.<br>
<br>
That said, I remember this whole thing started in an attempt to<br>
reduce the confusion with the "Right Hand Rule" concept. As I<br>
agree with you about NOT changing semantic of a very old function,<br>
I don't see how adding more functions help.<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
--strk;<br>
______________________________<wbr>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a></div></div></blockquote></div><br></div></div>