Method: RGeo::Geos::CAPIGeometryMethods#prepared?
- Defined in:
- ext/geos_c_impl/geometry.c
#prepared? ⇒ Boolean
124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'ext/geos_c_impl/geometry.c', line 124 static VALUE method_geometry_prepared_p(VALUE self) { const GEOSPreparedGeometry* prep; prep = RGEO_GEOMETRY_DATA_PTR(self)->prep; return (prep && prep != (const GEOSPreparedGeometry*)1 && prep != (const GEOSPreparedGeometry*)2 && prep != (GEOSPreparedGeometry*)3) ? Qtrue : Qfalse; } |