/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2005-2006 Refractions Research Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * by the Free Software Foundation. * See the COPYING file for more information. * ********************************************************************** * * Last port: geom/MultiPolygon.java rev 1.34 * **********************************************************************/ #ifndef GEOS_GEOM_MULTIPOLYGON_INL #define GEOS_GEOM_MULTIPOLYGON_INL #include #include namespace geos { namespace geom { // geos::geom INLINE MultiPolygon::MultiPolygon(const MultiPolygon &mp) : Geometry(mp), GeometryCollection(mp) { } INLINE Geometry* MultiPolygon::clone() const { return new MultiPolygon(*this); } } // namespace geos::geom } // namespace geos #endif // GEOS_GEOM_MULTIPOLYGON_INL