<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [geos-devel] OverlayOp JTS port</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I apologize for the barrage of questions.&nbsp; As far as I can tell the<BR>
OverlayOp.cpp is vintage JTS 1.7 (which I think is same as the JTS 1.9 for this class)<BR>
<BR>
except it has the additional calls of<BR>
<BR>
checkObviouslyWrongResult() - which most of that code looks like it would never<BR>
be called because of the #ifdefs except for the&nbsp;<BR>
<BR>
assert(resultGeom);<BR>
UNREFERENCED_PARAMETER(opCode); (have no clue what this does)<BR>
<BR>
and also a<BR>
elevationMatrix-&gt;elevate(resultGeom);<BR>
<BR>
which looks like will get called since USE_ELEVATION_MATRIX 1.<BR>
<BR>
Is the elevationMatrix designed to deal with 3d geometries?&nbsp; Didn't realize<BR>
Union actually works with those, but then I never tried it with 3d.<BR>
<BR>
So I'm a little puzzled why these 2 extra function calls since I always thought<BR>
GEOS was at best on par with JTS?<BR>
<BR>
Thanks,<BR>
Regina<BR>
<BR>
-----Original Message-----<BR>
From: geos-devel-bounces@lists.osgeo.org on behalf of Obe, Regina<BR>
Sent: Wed 9/17/2008 9:26 AM<BR>
To: GEOS Development List<BR>
Subject: [geos-devel] OverlayOp JTS port<BR>
<BR>
I'm looking at the operation.overlay.OverlayOp in geos trunk<BR>
<BR>
In the header it says<BR>
Last port: operation/overlay/OverlayOp.java rev. 1.23<BR>
<BR>
But I don't believe this to be right since when I compare the<BR>
computeOverlay methods<BR>
against 1.2 and 1.3 versions of JTS codebase, it has an additional<BR>
EdgeNodingValidator check which wasn't introduced until later versions<BR>
of JTS.<BR>
<BR>
So I'm wondering is the OverlayOp.cpp a mix of JTS versions or is the<BR>
comment above just plain wrong.<BR>
<BR>
It also has a checkObviouslyWrongResult() check at the end of<BR>
computerOverlay which I haven't figured out which version that was<BR>
introduced in JTS (its not in 1.2,1.3, or 1.9).&nbsp; Is this a GEOS specific<BR>
check that has no JTS equivalent?<BR>
<BR>
Thanks,<BR>
Regina<BR>
-----------------------------------------<BR>
The substance of this message, including any attachments, may be<BR>
confidential, legally privileged and/or exempt from disclosure<BR>
pursuant to Massachusetts law. It is intended<BR>
solely for the addressee. If you received this in error, please<BR>
contact the sender and delete the material from any computer.<BR>
<BR>
_______________________________________________<BR>
geos-devel mailing list<BR>
geos-devel@lists.osgeo.org<BR>
<A HREF="http://lists.osgeo.org/mailman/listinfo/geos-devel">http://lists.osgeo.org/mailman/listinfo/geos-devel</A><BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>