FDO .NET API Reference Feature Data Objects

mgILineStringSegment.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 "mgICurveSegmentAbstract.h"
00023 
00024 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00025 public __gc __interface IDirectPosition;
00026 public __gc class DirectPositionCollection;
00027 END_NAMESPACE_OSGEO_GEOMETRY
00028 
00029 BEGIN_NAMESPACE_OSGEO_GEOMETRY
00030 
00031 /// \ingroup (OSGeoFDOGeometry)
00032 /// \interface OSGeo::FDO::Geometry::ILineStringSegment
00033 /// \brief
00034 /// The ILineStringSegment class is a LineString curve segment type.  
00035 /// The shape of ILineStringSegment is the set of positions defined by the contained collection, 
00036 /// plus linear interpolation between consecutive points.
00037 /// This is a helper type for Geometries in the Geometry package.
00038 /// Note: It does not derive from IGeometry.
00039 public __gc __interface ILineStringSegment : public NAMESPACE_OSGEO_GEOMETRY::ICurveSegmentAbstract
00040 {
00041 public:
00042     /// \brief
00043     /// Gets the number of positions in this object.
00044     /// 
00045     /// \return
00046     /// Returns the number of positions
00047     /// 
00048     __property System::Int32 get_Count();
00049 
00050     /// \brief
00051     /// Gets the position at the specified (zero-based) index.
00052     /// 
00053     /// \param index 
00054     /// Input Zero-based index in the object's list of positions.
00055     /// 
00056     /// \return
00057     /// Returns the position
00058     /// 
00059     __property NAMESPACE_OSGEO_GEOMETRY::IDirectPosition *get_Item(System::Int32 index);
00060 
00061     /// \brief
00062     /// Gets a collection of all of the positions in this object.
00063     /// 
00064     /// \return
00065     /// Returns the positions
00066     /// 
00067     __property NAMESPACE_OSGEO_GEOMETRY::DirectPositionCollection *get_Positions();
00068 };
00069 
00070 END_NAMESPACE_OSGEO_GEOMETRY
00071 
00072 

Comments or suggestions? Send us feedback.