[geos-devel] equalsExact

Charlie Savage cfis at savagexi.com
Mon Jul 10 20:06:40 EDT 2006


I noticed the c api exposes the equals method on geometry but not 
equalExact.  The equals method is a topological comparison while the 
equalsExact compares geometries node by node (you can specify a 
tolerance for the comparison)..

I find equalsExact useful when writing tests cases (for example, geom1 
-> wkb -> geom2, then geom1.equalsExact(geom2)).

I was wondering if this is more generally useful and should be exposed 
as part the c api?

Thanks,

Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/geos-devel/attachments/20060710/f8fe1688/smime.bin


More information about the geos-devel mailing list