/* Analysis methos for GEOS wrapper */ #ifndef RGEO_GEOS_ANALYSIS_INCLUDED #define RGEO_GEOS_ANALYSIS_INCLUDED #include #ifdef RGEO_GEOS_SUPPORTED RGEO_BEGIN_C /* * call-seq: * RGeo::Geos::Analysis.ccw? -> true or false * * Checks direction for a ring, returns +true+ if counter-clockwise, +false+ * otherwise. */ #ifdef RGEO_GEOS_SUPPORTS_CCW VALUE rgeo_geos_analysis_ccw_p(VALUE self, VALUE ring); #endif // RGEO_GEOS_SUPPORTS_CCW /** * call-seq: * RGeo::Geos::Analysis.ccw_supported? -> true or false * * Checks if the RGEO_GEOS_SUPPORTS_ISCCW macro is defined, returns +true+ * if it is, +false+ otherwise */ VALUE rgeo_geos_analysis_supports_ccw(VALUE self); void rgeo_init_geos_analysis(); RGEO_END_C #endif // RGEO_GEOS_SUPPORTED #endif // RGEO_GEOS_ANALYSIS_INCLUDED