Class: RGeo::Geographic::ProjectedMultiPolygonImpl
- Inherits:
-
Object
- Object
- RGeo::Geographic::ProjectedMultiPolygonImpl
- Includes:
- Feature::GeometryCollection, ProjectedGeometryMethods, ProjectedNSurfaceMethods, ImplHelper::BasicGeometryCollectionMethods, ImplHelper::BasicGeometryMethods, ImplHelper::BasicMultiPolygonMethods
- Defined in:
- lib/rgeo/geographic/projected_feature_classes.rb
Overview
:nodoc:
Constant Summary
Constants included from Feature::Type
Instance Method Summary collapse
Methods included from ProjectedNSurfaceMethods
#area, #centroid, #point_on_surface
Methods included from ProjectedGeometryMethods
#boundary, #buffer, #contains?, #convex_hull, #crosses?, #difference, #disjoint?, #distance, #envelope, #equals?, #intersection, #intersects?, #is_empty?, #is_simple?, #overlaps?, #projection, #relate, #srid, #sym_difference, #touches?, #union, #within?
Methods included from ImplHelper::BasicMultiPolygonMethods
#area, #boundary, #geometry_type, #initialize
Methods included from ImplHelper::BasicGeometryCollectionMethods
#dimension, #each, #eql?, #geometry_n, #geometry_type, #initialize, #is_empty?, #num_geometries
Methods included from ImplHelper::BasicGeometryMethods
#_set_factory, #as_binary, #as_text, #factory, #inspect, #to_s
Methods included from Feature::GeometryCollection
#[], #each, #geometry_n, #num_geometries, #size
Methods included from Feature::Type
#check_type, #subtype_of?, #type_name
Methods included from Feature::Geometry
#*, #+, #-, #==, #as_binary, #as_text, #boundary, #buffer, #contains?, #convex_hull, #crosses?, #difference, #dimension, #disjoint?, #distance, #envelope, #eql?, #equals?, #factory, #geometry_type, #intersection, #intersects?, #is_empty?, #is_simple?, #overlaps?, #relate, #srid, #sym_difference, #touches?, #union, #within?
Instance Method Details
#_validate_geometry ⇒ Object
200 201 202 203 204 205 |
# File 'lib/rgeo/geographic/projected_feature_classes.rb', line 200 def _validate_geometry super unless projection raise Error::InvalidGeometry, 'MultiPolygon failed assertions' end end |