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 #pragma once 00020 00021 #include "mgIGeometryImp.h" 00022 #include "mgIPoint.h" 00023 00024 class FdoIPoint; 00025 00026 BEGIN_NAMESPACE_OSGEO_GEOMETRY 00027 public __gc __interface IDirectPosition; 00028 END_NAMESPACE_OSGEO_GEOMETRY 00029 00030 BEGIN_NAMESPACE_OSGEO_GEOMETRY 00031 00032 /// \ingroup (OSGeoFDOGeometry) 00033 /// \brief 00034 /// The IPointImp class is a point Geometry type. 00035 private __gc class IPointImp : 00036 public NAMESPACE_OSGEO_GEOMETRY::IGeometryImp, public NAMESPACE_OSGEO_GEOMETRY::IPoint 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 IPointImp(IntPtr unmanaged, Boolean autoDelete); 00050 00051 public private: 00052 FdoIPoint *GetImpObj(); 00053 00054 public: 00055 /// \brief 00056 /// Gets the position of this point Geometry. 00057 /// 00058 /// \return 00059 /// Returns the position 00060 /// 00061 __property NAMESPACE_OSGEO_GEOMETRY::IDirectPosition *get_Position(); 00062 00063 /// \brief 00064 /// Gets the position of this point Geometry, by values of its member data. 00065 /// This is in aid of higher performance for any implementation that 00066 /// does not internally use FdoIDirectPosition objects for storage, or for 00067 /// an application seeking to avoid overhead of accessor methods. 00068 /// 00069 /// \param coordinateX 00070 /// Output X ordinate value. 00071 /// \param coordinateY 00072 /// Output Y ordinate value. 00073 /// \param coordinateZ 00074 /// Output Z ordinate value. 00075 /// \param coordinateM 00076 /// Output M ordinate value. 00077 /// \param dimensionality 00078 /// Output Dimensionality of ordinates in this position. 00079 /// 00080 /// \return 00081 /// Returns nothing 00082 /// 00083 System::Void GetPositionByMembers( 00084 System::Double &coordinateX, 00085 System::Double &coordinateY, 00086 System::Double &coordinateZ, 00087 System::Double &coordinateM, 00088 System::Int32 &dimensionality); 00089 }; 00090 00091 END_NAMESPACE_OSGEO_GEOMETRY 00092 00093
Comments or suggestions? Send us feedback. |