FDO API Reference Feature Data Objects

GeometricType.h

Go to the documentation of this file.
00001 #ifndef _GEOMETRICTYPE_H_
00002 #define _GEOMETRICTYPE_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 /// \brief
00026 /// The FdoGeometricType enumeration categorizes all of the geometry types
00027 /// supported by FDO based on their geometric dimensionality.
00028 /// <param name="FdoGeometricType_Point">
00029 /// Represents 0-dimensional geometric primitives, such as Points
00030 /// </param>
00031 /// <param name="FdoGeometricType_Curve">
00032 /// Represents 1 dimensional geometric primitives, such as Curves and Lines
00033 /// </param>
00034 /// <param name="FdoGeometricType_Surface">
00035 /// Represents 2 dimensional geometric primitives, such as Polygons
00036 /// </param>
00037 /// <param name="FdoGeometricType_Solid">
00038 /// Represents 3 dimensional geometric primitives, such as Cubes
00039 /// </param>
00040 enum FdoGeometricType
00041 {
00042     /// Represents 0-dimensional geometric primitives, such as Points.
00043     FdoGeometricType_Point = 0x01,
00044 
00045     /// Represents 1 dimensional geometric primitives, such as Curves and Lines.
00046     FdoGeometricType_Curve = 0x02,
00047 
00048     /// Represents 2 dimensional geometric primitives, such as Polygons.
00049     FdoGeometricType_Surface = 0x04,
00050 
00051     /// Represents 3 dimensional geometric primitives, such as Cubes.
00052     FdoGeometricType_Solid = 0x08
00053 };
00054 
00055 #define FdoGeometricType_All    FdoGeometricType_Point|FdoGeometricType_Curve|FdoGeometricType_Surface|FdoGeometricType_Solid
00056 
00057 #endif
00058 
00059 

Comments or suggestions? Send us feedback.