Method: RGeo::Geos::FFIGeometryMethods#union

Defined in:
lib/rgeo/geos/ffi_feature_methods.rb

#union(rhs) ⇒ Object Also known as: +



236
237
238
239
# File 'lib/rgeo/geos/ffi_feature_methods.rb', line 236

def union(rhs)
  fg = factory.convert_to_fg_geometry(rhs)
  @factory.wrap_fg_geom(@fg_geom.union(fg), nil)
end