FDO .NET API Reference Feature Data Objects

mgIRingImp.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 
00020 #pragma once
00021 
00022 #include "mgIRingAbstractImp.h"
00023 #include "mgIRing.h"
00024 
00025 class FdoIRing;
00026 
00027 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00028 public __gc __interface ICurveSegmentAbstract;
00029 public __gc class CurveSegmentCollection;
00030 END_NAMESPACE_OSGEO_GEOMETRY
00031 
00032 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00033 
00034 /// \ingroup (OSGeoFDOGeometry)
00035 /// \brief
00036 /// The IRingImp class is ring Geometry helper type.  This is the most general non-abstract ring type.  
00037 /// FdoIRing is defined by an ordered collection of contiguous curve segments.
00038 private __gc class IRingImp :
00039     public NAMESPACE_OSGEO_GEOMETRY::IRingAbstractImp, public NAMESPACE_OSGEO_GEOMETRY::IRing
00040 {
00041 public:
00042     /// \brief
00043     /// Constructs a managed object based on an unmanaged instance of the object
00044     /// 
00045     /// \param unmanaged 
00046     /// Input A Pointer to the unmanaged object.
00047     /// 
00048     /// \param autoDelete 
00049     /// Input Indicates if the constructed element should be automatically deleted 
00050     /// once it no longer referenced.
00051     /// 
00052     IRingImp(System::IntPtr unmanaged, System::Boolean autoDelete);
00053 
00054 public private:
00055     FdoIRing *GetImpObj();
00056 
00057 public:
00058     /// \brief
00059     /// Gets the number of curve segments in this ring.  
00060     /// 
00061     /// \return
00062     /// Returns the number of curve segments
00063     /// 
00064     __property System::Int32 get_Count();
00065 
00066     /// \brief
00067     /// Gets the curve segment at the given zero-based index.
00068     /// 
00069     /// \param index 
00070     /// Input Zero-based index in the object's list of curve segments.
00071     /// 
00072     /// \return
00073     /// Returns the requested curve segment
00074     /// 
00075     __property NAMESPACE_OSGEO_GEOMETRY::ICurveSegmentAbstract *get_Item(System::Int32 index);
00076     
00077     /// \brief
00078     /// Gets all the curve segments.
00079     /// 
00080     /// \return
00081     /// Returns a collection of all the curve segments
00082     /// 
00083     __property NAMESPACE_OSGEO_GEOMETRY::CurveSegmentCollection *get_CurveSegments();
00084 };
00085 
00086 END_NAMESPACE_OSGEO_GEOMETRY
00087 
00088 

Comments or suggestions? Send us feedback.