home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / freedraft.tar.gz / freedraft.tar / FREEdraft-050298 / GEOMLIB2D / geom_enum.h < prev    next >
C/C++ Source or Header  |  1998-04-29  |  2KB  |  72 lines

  1. //geom_enum.h
  2.  
  3. // Copyright (C) 1997  Cliff Johnson                                       //
  4. //                                                                         //
  5. // This program is free software; you can redistribute it and/or           //
  6. // modify it under the terms of the GNU  General Public                    //
  7. // License as published by the Free Software Foundation; either            //
  8. // version 2 of the License, or (at your option) any later version.        //
  9. //                                                                         //
  10. // This software is distributed in the hope that it will be useful,        //
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of          //
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU       //
  13. // General Public License for more details.                                //
  14. //                                                                         //
  15. // You should have received a copy of the GNU General Public License       //
  16. // along with this software (see COPYING); if not, write to the        //
  17. // Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //
  18.  
  19.  
  20.  
  21. #ifndef GEOM_ENUM_H
  22. #define GEOM_ENUM_H
  23.  
  24. // colors
  25. enum {
  26. // entity types
  27.     POINT=1,
  28.     LINE,
  29.     CIRCLE,
  30.     SEGMENT,
  31.     ARC,
  32.     ELLIPSE,
  33.     CURVE,
  34.     GROUP,
  35.     
  36. // modifiers
  37.       GL2D_MIDPOINT = 90,
  38.     GL2D_ENDPOINT,
  39.     GL2D_CENTER,
  40.     GL2D_NEAREST,
  41.  
  42. // parametizations
  43.     PARAMETRIC=100,
  44.     POLAR,
  45.     
  46.  
  47.  
  48. // solver errors
  49.         LINE_IS_VERTICAL=300,
  50.         ERROR_NORMALIZE_EXPLICIT_FORM,
  51.         PARALLEL_LINES,
  52.         DEGENERATE_LINE,
  53.         SYNTAX_ERROR,
  54.     INVALID_SELECTION_TYPE,
  55.     POINTS_ARE_EQUAL,
  56.     POINT_COINCIDENT_WITH_CIRCLE_CENTER,
  57.     POINT_INSIDE_CIRCLE,
  58.     SEVERE_DEGENERATE_CONDITION,
  59.     COINCIDENT_CIRCLE_CENTERS,
  60.     CIRCLE_INSIDE_CIRCLE,
  61.     DEGENERATE_CIRCLE,
  62.     POINTS_ARE_COLINEAR,
  63.     NO_SOLUTIONS,
  64.     INFINITE_SOLUTIONS
  65.     
  66.  
  67.     
  68. };
  69.  
  70.  
  71. #endif
  72.