FDO API Reference | Feature Data Objects |
00001 #ifndef _IMULTIPOLYGON_H_ 00002 #define _IMULTIPOLYGON_H_ 00003 00004 // 00005 // Copyright (C) 2004-2006 Autodesk, Inc. 00006 // 00007 // This library is free software; you can redistribute it and/or 00008 // modify it under the terms of version 2.1 of the GNU Lesser 00009 // General Public License as published by the Free Software Foundation. 00010 // 00011 // This library is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 // Lesser General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU Lesser General Public 00017 // License along with this library; if not, write to the Free Software 00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00019 // 00020 00021 00022 00023 #ifdef _WIN32 00024 #pragma once 00025 #endif 00026 00027 #include <Geometry/IGeometricAggregateAbstract.h> 00028 #include <Geometry/IPolygon.h> 00029 00030 /// \brief 00031 /// The FdoIMultiPolygon class is a multi-polygon aggregate Geometry type. 00032 class FdoIMultiPolygon : public FdoIGeometricAggregateAbstract 00033 { 00034 public: 00035 00036 /// \brief 00037 /// Gets a polygon at the given zero-based index. 00038 /// 00039 /// \param index 00040 /// Input Zero-based index in the object's list of polygons. 00041 /// 00042 /// \return 00043 /// Returns a polygon 00044 /// 00045 FDO_GEOM_API virtual FdoIPolygon* GetItem( 00046 FdoInt32 index) const = 0; 00047 00048 protected: 00049 00050 /// \brief 00051 /// Constructs a default instance. 00052 /// 00053 /// \return 00054 /// Returns nothing 00055 /// 00056 FDO_GEOM_API FdoIMultiPolygon() {}; 00057 00058 /// \brief 00059 /// Default destructor. 00060 /// 00061 /// \return 00062 /// Returns nothing 00063 /// 00064 FDO_GEOM_API virtual ~FdoIMultiPolygon() {}; 00065 00066 }; 00067 #endif 00068 00069
Comments or suggestions? Send us feedback. |