FDO .NET API Reference Feature Data Objects

mgIMultiPolygonImp.h

Go to the documentation of this file.
00001 /*
00002 * Copyright (C) 2004-2006  Autodesk, Inc.
00003 * 
00004 * This library is free software; you can redistribute it and/or
00005 * modify it under the terms of version 2.1 of the GNU Lesser
00006 * General Public License as published by the Free Software Foundation.
00007 * 
00008 * This library is distributed in the hope that it will be useful,
00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 * Lesser General Public License for more details.
00012 * 
00013 * You should have received a copy of the GNU Lesser General Public
00014 * License along with this library; if not, write to the Free Software
00015 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00016 *
00017 */
00018 
00019 #pragma once
00020 #include "mgIGeometricAggregateAbstractImp.h"
00021 #include "mgIMultiPolygon.h"
00022 
00023 class FdoIMultiPolygon;
00024 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00025 public __gc __interface IPolygon;
00026 END_NAMESPACE_OSGEO_GEOMETRY
00027 
00028 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00029 
00030 /// \ingroup (OSGeoFDOGeometry)
00031 /// \brief
00032 /// The IMultiPolygonImp class is a multi-polygon aggregate Geometry type.
00033 private __gc class IMultiPolygonImp : 
00034     public NAMESPACE_OSGEO_GEOMETRY::IGeometricAggregateAbstractImp, public NAMESPACE_OSGEO_GEOMETRY::IMultiPolygon
00035 {
00036 public:
00037     /// \brief
00038     /// Constructs a managed object based on an unmanaged instance of the object
00039     /// 
00040     /// \param unmanaged 
00041     /// Input A Pointer to the unmanaged object.
00042     /// 
00043     /// \param autoDelete 
00044     /// Input Indicates if the constructed element should be automatically deleted 
00045     /// once it no longer referenced.
00046     /// 
00047     IMultiPolygonImp(System::IntPtr unmanaged, System::Boolean autoDelete);
00048     
00049 public private:
00050     FdoIMultiPolygon *GetImpObj();
00051 
00052 public:
00053 
00054     /// \brief
00055     /// Gets a polygon at the given zero-based index.
00056     /// 
00057     /// \param index 
00058     /// Input Zero-based index in the object's list of polygons.
00059     /// 
00060     /// \return
00061     /// Returns a polygon
00062     /// 
00063     __property NAMESPACE_OSGEO_GEOMETRY::IPolygon* get_Item(System::Int32 index);
00064 };
00065 
00066 END_NAMESPACE_OSGEO_GEOMETRY
00067 
00068 

Comments or suggestions? Send us feedback.