[geos-devel] RE: [postgis-devel] Geos Capi OverlayOp, overlayOp question

Mateusz Loskot mateusz at loskot.net
Wed Sep 17 09:19:43 PDT 2008


Obe, Regina wrote:
> Mateusz,
> 
>> Are you asking about the redundant "using" directive or about use of
>> "using" directive in general?
> 
> Mostly the redundant using.

Regina,

I have to correct my response.
There is no redundant use of using directive in geos_c.cpp file.

The first using (line 89) "imports" OverlayOp class defined in line 57
of OverlayOp.h file.
The second using (line 90) does the same but for distinct
type - a functor named overlayOp and defined in OverlayOp.h line 326.

The former is starts with big "O" the latter with lower-case "o".

OverlayOp file:

http://trac.osgeo.org/geos/browser/trunk/source/headers/geos/operation/overlay/OverlayOp.h?rev=1820

So, both lines 89 and 90 are needed in file geos_c.cpp.

Sorry for confusions, I didn't notice the case of O letter at first.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org



More information about the postgis-devel mailing list