FDO .NET API Reference | Feature Data Objects |
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 00021 #include "mgISurfaceAbstractImp.h" 00022 #include "mgICurvePolygon.h" 00023 00024 class FdoICurvePolygon; 00025 00026 BEGIN_NAMESPACE_OSGEO_GEOMETRY 00027 public __gc __interface IRing; 00028 END_NAMESPACE_OSGEO_GEOMETRY 00029 00030 BEGIN_NAMESPACE_OSGEO_GEOMETRY 00031 00032 /// \ingroup (OSGeoFDOGeometry) 00033 /// \brief 00034 /// The ICurvePolygonImp class is a concrete geometric CurvePolygon geometry type. 00035 /// This type is defined by one exterior boundary and zero or more interior boundaries. 00036 /// Each of the boundaries must be a closed, simple Ring. 00037 private __gc class ICurvePolygonImp : 00038 public NAMESPACE_OSGEO_GEOMETRY::ICurvePolygon, public NAMESPACE_OSGEO_GEOMETRY::ISurfaceAbstractImp 00039 { 00040 public: 00041 /// \brief 00042 /// Constructs an ICurvePolygonImp managed object based on an unmanaged instance of the object 00043 /// 00044 /// \param unmanaged 00045 /// Input A Pointer to the unmanaged object. 00046 /// 00047 /// \param autoDelete 00048 /// Input Indicates if the constructed object should be automatically deleted 00049 /// once it no longer referenced. 00050 /// 00051 ICurvePolygonImp(System::IntPtr unmanaged, System::Boolean autoDelete); 00052 00053 public private: 00054 FdoICurvePolygon *GetImpObj(); 00055 00056 public: 00057 /// \brief 00058 /// Gets the ring defining the outer boundary. 00059 /// 00060 /// \return 00061 /// Returns the exterior ring 00062 /// 00063 __property NAMESPACE_OSGEO_GEOMETRY::IRing *get_ExteriorRing(); 00064 00065 /// \brief 00066 /// Gets the number of interior rings. 00067 /// 00068 /// \return 00069 /// Returns the number of interior rings 00070 /// 00071 __property System::Int32 get_InteriorRingCount(); 00072 00073 /// \brief 00074 /// Gets the interior ring at the specified (zero-based) index. 00075 /// 00076 /// \param index 00077 /// Input Zero-based index in the object's list of interior rings. 00078 /// 00079 /// \return 00080 /// Returns the interior ring 00081 /// 00082 __property NAMESPACE_OSGEO_GEOMETRY::IRing *get_InteriorRing(System::Int32 index); 00083 }; 00084 00085 END_NAMESPACE_OSGEO_GEOMETRY 00086 00087
Comments or suggestions? Send us feedback. |