Method: RGeo::Geos::CAPIGeometryMethods#geometry_type

Defined in:
ext/geos_c_impl/geometry.c

#geometry_typeObject



175
176
177
178
179
180
181
182
183
184
185
186
187
# File 'ext/geos_c_impl/geometry.c', line 175

static VALUE
method_geometry_geometry_type(VALUE self)
{
  VALUE result;
  RGeo_GeometryData* self_data;

  result = Qnil;
  self_data = RGEO_GEOMETRY_DATA_PTR(self);
  if (self_data->geom) {
    result = rgeo_feature_geometry_module;
  }
  return result;
}