6 Jan 2010 17:27
Patch to expose more methods in the CAPI
Alex Trofast <alex.trofast <at> ingres.com>
2010-01-06 16:27:14 GMT
2010-01-06 16:27:14 GMT
Greetings GEOS-devel I've attached a patch that exposes these C++ class methods as CAPI functions: LineString::getPointN -> GEOSGetPointN LineString::getStartPoint -> GEOSGetStartPoint LineString::getEndPoint -> GEOSGetEndPoint LineString::isClosed -> GEOSisClosed LineString::getLength -> GEOSGetLength LineString::getNumPoints -> GEOSGetNumPoints Point::getX -> GEOSGetX Point::getY -> GEOSGetY Additionally I wrote a small test case for the new functions. Any feedback is greatly appreciated. Thank you, Alex Trofast Software Engineer Ingres
Index: tests/unit/Makefile.am =================================================================== --- tests/unit/Makefile.am (revision 2835) +++ tests/unit/Makefile.am (working copy) <at> <at> -90,7 +90,8 <at> <at> capi/GEOSSimplifyTest.cpp \ capi/GEOSPreparedGeometryTest.cpp \(Continue reading)
RSS Feed