Class: RGeo::Geos::CAPIMultiPolygonImpl

Inherits:
Object
  • Object
show all
Includes:
Feature::MultiPolygon, CAPIGeometryCollectionMethods, CAPIGeometryMethods, CAPIMultiPolygonMethods, ImplHelper::ValidityCheck
Defined in:
lib/rgeo/geos/capi_feature_classes.rb,
ext/geos_c_impl/globals.c

Class Method Summary collapse

Methods included from CAPIMultiPolygonMethods

#area, #centroid, #coordinates, #geometry_type, #hash

Methods included from CAPIGeometryCollectionMethods

#[], #each, #eql?, #geometry_n, #geometry_type, #hash, #node, #num_geometries, #rep_equals?, #size

Methods included from CAPIGeometryMethods

#*, #+, #-, #==, #_as_text, #_steal, #as_binary, #as_text, #boundary, #buffer, #buffer_with_style, #contains?, #convex_hull, #coordinate_dimension, #crosses?, #difference, #dimension, #disjoint?, #distance, #empty?, #encode_with, #envelope, #eql?, #equals?, #factory, #factory=, #geometry_type, #init_with, #initialize_copy, #initialized?, #inspect, #intersection, #intersects?, #invalid_reason, #invalid_reason_location, #is_3d?, #make_valid, #marshal_dump, #marshal_load, #measured?, #overlaps?, #point_on_surface, #polygonize, #prepare!, #prepared?, #relate?, #rep_equals?, #segmentize, #simple?, #simplify, #simplify_preserve_topology, #spatial_dimension, #srid, #sym_difference, #touches?, #unary_union, #union, #valid?, #within?

Methods included from ImplHelper::ValidityCheck

#check_validity!, included, #invalid_reason, #make_valid, override_classes

Methods included from Feature::Type

#add_subtype, #check_type, #each_immediate_subtype, extended, #subtype_of?, #supertype, #type_name

Methods included from Feature::MultiSurface

#area, #centroid, #point_on_surface

Methods included from Feature::GeometryCollection

#[], #each, #geometry_n, #node, #num_geometries, #point_on_surface, #size

Methods included from Feature::Geometry

#*, #+, #-, #==, #as_binary, #as_text, #boundary, #buffer, #contains?, #convex_hull, #coordinate_dimension, #crosses?, #difference, #dimension, #disjoint?, #distance, #empty?, #envelope, #eql?, #equals?, #factory, #geometry_type, #intersection, #intersects?, #is_3d?, #locate_along, #locate_between, #measured?, #overlaps?, #relate?, #rep_equals?, #simple?, #spatial_dimension, #srid, #sym_difference, #touches?, #transform, #unary_union, #union, #within?

Class Method Details

.create(factory, array) ⇒ Object



555
556
557
558
559
# File 'ext/geos_c_impl/geometry_collection.c', line 555

static VALUE
cmethod_multi_polygon_create(VALUE module, VALUE factory, VALUE array)
{
  return create_geometry_collection(module, GEOS_MULTIPOLYGON, factory, array);
}