FDO .NET API Reference Feature Data Objects

mgIGeometryCapabilities.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 #pragma once
00020 
00021 BEGIN_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES
00022 
00023 /// \ingroup (OSGeoFDOConnectionsCapabilities)
00024 /// \interface OSGeo::FDO::Connections::Capabilities::IGeometryCapabilities
00025 /// \brief
00026 /// The IGeometryCapabilities class delineates available support for raster processing from a provider.
00027 public __gc __interface IGeometryCapabilities : public System::IDisposable
00028 {
00029 public:
00030     /// \brief
00031     /// Return the list of supported geometry types. For example, if a client wanted to know if a provider supported
00032     /// multi-polygons, it would call GetGeometryTypes and check if the MultiPolygon type was listed.
00033     /// 
00034     /// \return
00035     /// Returns the list of geometry types
00036     /// 
00037     __property NAMESPACE_OSGEO_COMMON::GeometryType get_GeometryTypes() [];
00038 
00039     /// \brief
00040     /// Return the list of supported component types. For example, if a client wanted to know if circular arcs were supported 
00041     /// by a provider, it would call GetGeometryComponentTypes and check for CircularArcSegment in the returned list.
00042     /// 
00043     /// \return
00044     /// Returns the list of component types
00045     /// 
00046     __property NAMESPACE_OSGEO_COMMON::GeometryComponentType get_GeometryComponentTypes() [];
00047 
00048     /// \brief
00049     /// Returns the supported dimensionalities which are based on the bit masks defined in the Dimensionality enum. 
00050     /// The Z and M bits indicate if the provider supports 3d or Measure dimensions in geometry data. The XY bit should be set too.
00051     /// 
00052     /// \return
00053     /// Returns the dimensionalities
00054     /// 
00055     __property System::Int32 get_Dimensionalities();
00056 
00057 };
00058 
00059 END_NAMESPACE_OSGEO_FDO_CONNECTIONS_CAPABILITIES
00060 
00061 

Comments or suggestions? Send us feedback.