FDO API Reference | Feature Data Objects |
00001 #ifndef _GEOMETRYTYPE_H_ 00002 #define _GEOMETRYTYPE_H_ 00003 00004 // 00005 // Copyright (C) 2004-2006 Autodesk, Inc. 00006 // 00007 // This library is free software; you can redistribute it and/or 00008 // modify it under the terms of version 2.1 of the GNU Lesser 00009 // General Public License as published by the Free Software Foundation. 00010 // 00011 // This library is distributed in the hope that it will be useful, 00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 // Lesser General Public License for more details. 00015 // 00016 // You should have received a copy of the GNU Lesser General Public 00017 // License along with this library; if not, write to the Free Software 00018 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00019 // 00020 00021 #ifdef _WIN32 00022 #pragma once 00023 #endif 00024 00025 #ifdef __cplusplus 00026 /// \ingroup (enums) 00027 /// \brief 00028 /// FdoGeometryType is an enumeration to denote the type of a Geometry. 00029 /// 00030 /// \remarks 00031 /// This enumeration applies to types that derive from FdoIGeometry. 00032 enum FdoGeometryType 00033 #else 00034 typedef enum 00035 #endif 00036 { 00037 /// Indicates no specific type; used for "unknown", "don't care" or an incompletely constructed Geometry object. 00038 FdoGeometryType_None = 0, 00039 00040 /// Point type (FdoIPoint). 00041 FdoGeometryType_Point = 1, 00042 00043 /// LineString type (FdoILineString). 00044 FdoGeometryType_LineString = 2, 00045 00046 /// Polygon type (FdoIPolygon). 00047 FdoGeometryType_Polygon = 3, 00048 00049 /// MultiPoint type (FdoIMultiPoint). 00050 FdoGeometryType_MultiPoint = 4, 00051 00052 /// MultiLineString type (FdoIMultiLineString). 00053 FdoGeometryType_MultiLineString = 5, 00054 00055 /// MultiPolygon type (FdoIMultiPolygon). 00056 FdoGeometryType_MultiPolygon = 6, 00057 00058 /// MultiGeometry type (FdoIMultiGeometry). 00059 FdoGeometryType_MultiGeometry = 7, 00060 00061 /// CurveString type (FdoICurveString). 00062 FdoGeometryType_CurveString = 10, 00063 00064 /// CurvePolygon type (FdoICurvePolygon). 00065 FdoGeometryType_CurvePolygon = 11, 00066 00067 /// MultiCurveString type (FdoIMultiCurveString). 00068 FdoGeometryType_MultiCurveString = 12, 00069 00070 /// MultiCurvePolygon type (FdoIMultiCurvePolygon). 00071 FdoGeometryType_MultiCurvePolygon = 13 00072 00073 #ifdef __cplusplus 00074 }; 00075 #else 00076 } FdoGeometryType; 00077 #endif 00078 00079 00080 #ifdef __cplusplus 00081 /// \ingroup (enums) 00082 /// \brief 00083 /// Enumeration for components of Geometry. 00084 /// 00085 /// \remarks 00086 /// This enumeration applies to certain helper types that are used to compose other types which derive from FdoIGeometry. 00087 enum FdoGeometryComponentType 00088 #else 00089 typedef enum 00090 #endif 00091 { 00092 /// LinearRing type (FdoILinearRing). 00093 FdoGeometryComponentType_LinearRing = 129, 00094 00095 /// CircularArcSegment type (FdoICircularArcSegment). 00096 FdoGeometryComponentType_CircularArcSegment = 130, 00097 00098 /// LineStringSegment type (FdoILineStringSegment). 00099 FdoGeometryComponentType_LineStringSegment = 131, 00100 00101 /// Ring type (FdoIRing). 00102 FdoGeometryComponentType_Ring = 132 00103 00104 #ifdef __cplusplus 00105 }; 00106 #else 00107 } FdoGeometryComponentType; 00108 #endif 00109 #endif 00110 00111
Comments or suggestions? Send us feedback. |