Method: RGeo::Geos::CAPIPolygonMethods#geometry_type

Defined in:
ext/geos_c_impl/polygon.c

#geometry_typeObject



51
52
53
54
55
56
57
58
59
60
61
62
63
# File 'ext/geos_c_impl/polygon.c', line 51

static VALUE
method_polygon_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_polygon_module;
  }
  return result;
}