Class: RGeo::Geographic::ProjectedPolygonImpl
- Inherits:
-
Object
- Object
- RGeo::Geographic::ProjectedPolygonImpl
- Includes:
- Feature::Polygon, ProjectedGeometryMethods, ProjectedNSurfaceMethods, ImplHelper::BasicGeometryMethods, ImplHelper::BasicPolygonMethods
- 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::BasicPolygonMethods
#boundary, #dimension, #eql?, #exterior_ring, #geometry_type, #initialize, #interior_ring_n, #interior_rings, #is_empty?, #num_interior_rings
Methods included from ImplHelper::BasicGeometryMethods
#_set_factory, #as_binary, #as_text, #factory, #inspect, #to_s
Methods included from Feature::Polygon
#exterior_ring, #interior_ring_n, #interior_rings, #num_interior_rings
Methods included from Feature::Type
#check_type, #subtype_of?, #type_name
Methods included from Feature::Surface
#area, #centroid, #point_on_surface
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
139 140 141 142 143 144 |
# File 'lib/rgeo/geographic/projected_feature_classes.rb', line 139 def _validate_geometry super unless projection raise Error::InvalidGeometry, 'Polygon failed assertions' end end |