Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:32

0001 // Created on: 1992-04-30
0002 // Created by: Remi GILET
0003 // Copyright (c) 1992-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _gce_ErrorType_HeaderFile
0018 #define _gce_ErrorType_HeaderFile
0019 
0020 //! Indicates the outcome of a construction, i.e.
0021 //! whether it is successful or not, as explained below.
0022 //! gce_Done: Construction was successful.
0023 //! gce_ConfusedPoints: Two points are coincident.
0024 //! gce_NegativeRadius: Radius value is negative.
0025 //! gce_ColinearPoints: Three points are collinear.
0026 //! gce_IntersectionError: Intersection cannot be computed.
0027 //! gce_NullAxis: Axis is undefined.
0028 //! gce_NullAngle: Angle value is invalid (usually null).
0029 //! gce_NullRadius: Radius is null.
0030 //! gce_InvertAxis: Axis value is invalid.
0031 //! gce_BadAngle: Angle value is invalid.
0032 //! gce_InvertRadius: Radius value is incorrect
0033 //! (usually with respect to another radius).
0034 //! gce_NullFocusLength: Focal distance is null.
0035 //! gce_NullVector: Vector is null.
0036 //! gce_BadEquation: Coefficients are
0037 //! incorrect (applies to the equation of a geometric object).
0038 enum gce_ErrorType
0039 {
0040 gce_Done,
0041 gce_ConfusedPoints,
0042 gce_NegativeRadius,
0043 gce_ColinearPoints,
0044 gce_IntersectionError,
0045 gce_NullAxis,
0046 gce_NullAngle,
0047 gce_NullRadius,
0048 gce_InvertAxis,
0049 gce_BadAngle,
0050 gce_InvertRadius,
0051 gce_NullFocusLength,
0052 gce_NullVector,
0053 gce_BadEquation
0054 };
0055 
0056 #endif // _gce_ErrorType_HeaderFile