Method: RGeo::ImplHelper::BasicMultiPolygonMethods#contains?
- Defined in:
- lib/rgeo/impl_helper/basic_geometry_collection_methods.rb
#contains?(rhs) ⇒ Boolean
190 191 192 193 194 |
# File 'lib/rgeo/impl_helper/basic_geometry_collection_methods.rb', line 190 def contains?(rhs) return super unless Feature::Point === rhs @elements.any? { |poly| poly.contains?(rhs) } end |