FDO .NET API Reference Feature Data Objects

mgSpatialGeometryValidity.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 /// \cond DOXYGEN-IGNORE
00022 BEGIN_NAMESPACE_OSGEO_SPATIAL
00023 /// \endcond
00024 
00025 /// \ingroup (OSGeoFDOSpatial)
00026 /// \brief
00027 /// SpatialGeometryValidity is an enumeration to denote the validity of a Geometry
00028 /// during a test of type and dimensionality..
00029 public __value enum SpatialGeometryValidity
00030 {
00031     /// Indicates no specific validity; used for unknown or default states.
00032     SpatialGeometryValidity_None = FdoSpatialGeometryValidity_None,
00033 
00034     /// Geometry passes a test.
00035     SpatialGeometryValidity_Valid = FdoSpatialGeometryValidity_Valid,
00036 
00037     /// Geometry fails a test.
00038     SpatialGeometryValidity_Invalid = FdoSpatialGeometryValidity_Invalid,
00039 
00040     /// Geometry fails a test, but could be approximated 
00041     /// using allowed types.
00042     SpatialGeometryValidity_InvalidButCanBeApproximated = FdoSpatialGeometryValidity_InvalidButCanBeApproximated,
00043 
00044     /// Geometry fails a test due to having an disallowed dimensionality.
00045     SpatialGeometryValidity_InvalidDueToDimensionality = FdoSpatialGeometryValidity_InvalidDueToDimensionality,
00046 };
00047 
00048 /// \cond DOXYGEN-IGNORE
00049 END_NAMESPACE_OSGEO_SPATIAL
00050 /// \endcond

Comments or suggestions? Send us feedback.