FDO .NET API Reference Feature Data Objects

mgIRingAbstractImp.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 "mgIRingAbstract.h"
00023 
00024 class FdoIRingAbstract;
00025 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00026 public __gc __interface IEnvelope;
00027 END_NAMESPACE_OSGEO_GEOMETRY
00028 
00029 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00030 
00031 /// \ingroup (OSGeoFDOGeometry)
00032 /// \brief
00033 /// The IRingAbstractImp class is a ring Geometry helper type (abstract). FdoIRingAbstract is the most general ring type.
00034 /// It is similar to CurveAbstract, but is always closed.
00035 public __gc class IRingAbstractImp : 
00036     public NAMESPACE_OSGEO_RUNTIME::Disposable, public NAMESPACE_OSGEO_GEOMETRY::IRingAbstract
00037 {
00038 public:
00039     /// \brief
00040     /// Constructs a managed object based on an unmanaged instance of the object
00041     /// 
00042     /// \param unmanaged 
00043     /// Input A Pointer to the unmanaged object.
00044     /// 
00045     /// \param autoDelete 
00046     /// Input Indicates if the constructed element should be automatically deleted 
00047     /// once it no longer referenced.
00048     /// 
00049     IRingAbstractImp(System::IntPtr unmanaged, System::Boolean autoDelete);
00050 
00051 protected:
00052     System::Void ReleaseUnmanagedObject();
00053     
00054 public:
00055     /// \brief
00056     /// Gets the envelope for the object.
00057     /// 
00058     /// \return
00059     /// Returns the envelope
00060     /// 
00061     __property NAMESPACE_OSGEO_GEOMETRY::IEnvelope *get_Envelope();
00062     
00063     /// \brief
00064     /// Gets the dimensionality of ordinates in this object.
00065     /// 
00066     /// \remarks
00067     ///  Values are from the Dimensionality enum.
00068     /// A return type of "Int32" is used instead of the enum, catering to typical use with bit masking.
00069     /// 
00070     /// \return
00071     /// Returns the ordinate dimensionality
00072     /// 
00073     __property System::Int32 get_Dimensionality();
00074 
00075 public private:
00076     inline FdoIRingAbstract *GetImpObj();
00077 };
00078 END_NAMESPACE_OSGEO_GEOMETRY
00079 
00080 

Comments or suggestions? Send us feedback.