<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,<br>
</p>
<p><br>
</p>
<p>Would it be possible to add support for OGC (v 1.2) winding rules? Currently</p>
<p>normalize() <span style="font-size: 12pt;">forces polygon </span><span style="font-size: 12pt;">exter</span><span style="font-size: 12pt;">iors to be clockwise and interiors to be</span></p>
<p><span style="font-size: 12pt;">counter-clockwise. </span><span style="font-size: 12pt;">I had a quick look at the C++</span><span style="font-size: 12pt;">, and it looks like adding</span></p>
<p><span style="font-size: 12pt;">a new virtual method </span><span style="font-size: 12pt;">with a boolean argument</span><span style="font-size: 12pt;"> would be quite simple to</span></p>
<p><span style="font-size: 12pt;">implement, and would </span><span style="font-size: 12pt;">not break the ABI if the flag is not made into an</span></p>
<p><span style="font-size: 12pt;">optional argument with a default value.</span><span style="font-size: 12pt;"> I did not </span><span style="font-size: 12pt;">check the </span><span style="font-size: 12pt;">C-API though.</span></p>
<p><span style="font-size: 12pt;">In comparison, w</span><span style="font-size: 12pt;">riting a free normalize function</span><span style="font-size: 12pt;"> which would </span><span style="font-size: 12pt;">change the</span></p>
<p><span style="font-size: 12pt;">winding rule seems </span><span style="font-size: 12pt;">to be quite cu</span><span style="font-size: 12pt;">mbersome without direct access </span><span style="font-size: 12pt;">to the</span></p>
<p><span style="font-size: 12pt;">object internals.</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Regards,</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Mika Heiskanen / FMI</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
</body>
</html>