Adding method for joining polygons

[#63421162]