1 // Created on: 1992-04-30
2 // Created by: Remi GILET
3 // Copyright (c) 1992-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16 
17 #ifndef _gce_ErrorType_HeaderFile
18 #define _gce_ErrorType_HeaderFile
19 
20 //! Indicates the outcome of a construction, i.e.
21 //! whether it is successful or not, as explained below.
22 //! gce_Done: Construction was successful.
23 //! gce_ConfusedPoints: Two points are coincident.
24 //! gce_NegativeRadius: Radius value is negative.
25 //! gce_ColinearPoints: Three points are collinear.
26 //! gce_IntersectionError: Intersection cannot be computed.
27 //! gce_NullAxis: Axis is undefined.
28 //! gce_NullAngle: Angle value is invalid (usually null).
29 //! gce_NullRadius: Radius is null.
30 //! gce_InvertAxis: Axis value is invalid.
31 //! gce_BadAngle: Angle value is invalid.
32 //! gce_InvertRadius: Radius value is incorrect
33 //! (usually with respect to another radius).
34 //! gce_NullFocusLength: Focal distance is null.
35 //! gce_NullVector: Vector is null.
36 //! gce_BadEquation: Coefficients are
37 //! incorrect (applies to the equation of a geometric object).
38 enum gce_ErrorType
39 {
40 gce_Done,
41 gce_ConfusedPoints,
42 gce_NegativeRadius,
43 gce_ColinearPoints,
44 gce_IntersectionError,
45 gce_NullAxis,
46 gce_NullAngle,
47 gce_NullRadius,
48 gce_InvertAxis,
49 gce_BadAngle,
50 gce_InvertRadius,
51 gce_NullFocusLength,
52 gce_NullVector,
53 gce_BadEquation
54 };
55 
56 #endif // _gce_ErrorType_HeaderFile
57