FDO .NET API Reference Feature Data Objects

mgICurveStringImp.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 #include "mgICurveString.h"
00022 #include "mgICurveAbstractImp.h"
00023 
00024 class FdoICurveString;
00025 
00026 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00027 public __gc __interface ICurveSegmentAbstract;
00028 public __gc class CurveSegmentCollection;
00029 END_NAMESPACE_OSGEO_GEOMETRY
00030 
00031 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00032 
00033 /// \ingroup (OSGeoFDOGeometry)
00034 /// \brief
00035 /// The ICurveStringImp class is a concrete geometric CurveString Geometry type. ICurveString is the most general non-abstract curve type.  
00036 /// It is defined by an ordered collection of contiguous curve segments.
00037 private __gc class ICurveStringImp 
00038     : public NAMESPACE_OSGEO_GEOMETRY::ICurveAbstractImp, public NAMESPACE_OSGEO_GEOMETRY::ICurveString
00039 {
00040 public:
00041     /// \brief
00042     /// Constructs an ICurveStringImp 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     ICurveStringImp(System::IntPtr unmanaged, System::Boolean autoDelete);
00052 
00053 public private:
00054     FdoICurveString *GetImpObj();
00055 
00056 public:
00057     /// \brief
00058     /// Gets the number of curve segments in this curve.  
00059     /// 
00060     /// \return
00061     /// Returns the number of curve segments
00062     /// 
00063     __property System::Int32 get_Count();
00064     
00065     /// \brief
00066     /// Gets the curve segment at the given zero-based index.
00067     /// 
00068     /// \param index 
00069     /// Input Zero-based index in the object's list of curve segments.
00070     /// 
00071     /// \return
00072     /// Returns the requested curve segment
00073     /// 
00074     __property NAMESPACE_OSGEO_GEOMETRY::ICurveSegmentAbstract *get_Item(System::Int32 index);
00075     
00076     /// \brief
00077     /// Gets all the curve segments.
00078     /// 
00079     /// \return
00080     /// Returns a collection of all the curve segments
00081     /// 
00082     __property NAMESPACE_OSGEO_GEOMETRY::CurveSegmentCollection *get_CurveSegments();
00083 };
00084 
00085 END_NAMESPACE_OSGEO_GEOMETRY
00086 
00087 

Comments or suggestions? Send us feedback.