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 00020 #pragma once 00021 #include "mgICurveSegmentAbstractImp.h" 00022 #include "mgIArcSegmentAbstract.h" 00023 00024 class FdoIArcSegmentAbstract; 00025 BEGIN_NAMESPACE_OSGEO_GEOMETRY 00026 public __gc __interface ICurveSegmentAbstract; 00027 public __gc __interface IDirectPosition; 00028 END_NAMESPACE_OSGEO_GEOMETRY 00029 00030 BEGIN_NAMESPACE_OSGEO_GEOMETRY 00031 00032 /// \ingroup (OSGeoFDOGeometry) 00033 /// \brief 00034 /// The IArcSegmentAbstract class is an arc curve segment (abstract) 00035 public __gc class IArcSegmentAbstractImp : 00036 public NAMESPACE_OSGEO_GEOMETRY::IArcSegmentAbstract, public NAMESPACE_OSGEO_GEOMETRY::ICurveSegmentAbstractImp 00037 { 00038 public: 00039 /// \brief 00040 /// Constructs an IArcSegmentAbstractImp 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 object should be automatically deleted 00047 /// once it no longer referenced. 00048 /// 00049 IArcSegmentAbstractImp(System::IntPtr unmanaged, System::Boolean autoDelete); 00050 00051 public private: 00052 FdoIArcSegmentAbstract *GetImpObj(); 00053 00054 public: 00055 00056 /// \brief 00057 /// Gets some position along the curve, between the starting and ending positions. 00058 /// 00059 /// \remarks 00060 /// Depending on the derived type and its implementation, this may be a 00061 /// computed value, or a persisted value used as part 00062 /// of the definition of the curve segment. This position is the only 00063 /// means to deduce the curve segment's orientation in some cases, such as 00064 /// when it is closed or vertically aligned ('on edge' when looking along the Z axis). 00065 /// 00066 /// \return 00067 /// Returns a midpoint on the curve 00068 /// 00069 __property NAMESPACE_OSGEO_GEOMETRY::IDirectPosition *get_MidPoint(); 00070 00071 }; 00072 00073 END_NAMESPACE_OSGEO_GEOMETRY 00074 00075
Comments or suggestions? Send us feedback. |