AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual MgMultiPolygon* MgGeometryFactory::CreateMultiPolygon ( MgPolygonCollection polygons  )  [virtual]

Creates a multi polygon aggregate geometry from a collection of polygons.

.NET Syntax
virtual MgMultiPolygon CreateMultiPolygon(MgPolygonCollection polygons);
Java Syntax
virtual MgMultiPolygon CreateMultiPolygon(MgPolygonCollection polygons);
PHP Syntax
virtual MgMultiPolygon CreateMultiPolygon(MgPolygonCollection polygons);

Parameters:
polygons (MgPolygonCollection) An MgGeometryCollection that specifies the polygons. All geometry objects in this collection must be of type MgPolygon.
Returns:
An instance of MgMultiPolygon.