42cf5bc1 |
1 | // Created on: 1995-06-12 |
2 | // Created by: Joelle CHAUVET |
3 | // Copyright (c) 1995-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 _ChFi2d_ConstructionError_HeaderFile |
18 | #define _ChFi2d_ConstructionError_HeaderFile |
19 | |
20 | //! error that can occur during the |
21 | //! fillet construction on planar wire//! the face is not planar//! the face is null//! the two faces used for the initialisation are |
22 | //! uncompatible.//! the parameters as distances or angle for |
23 | //! chamfer are less or equal to zero.//! the initialization has been succesfull.//! the algorithm could not find a solution.//! the vertex given to locate the fillet or the |
24 | //! chamfer is not connected to 2 edges.//! the two edges connected to the vertex are tangent.//! the first edge is degenerated.//! the last edge is degenerated.//! the two edges are degenerated.//! One or the two edges connected to the vertex |
25 | //! is a fillet or a chamfer |
26 | //! One or the two edges connected to the vertex |
27 | //! is not a line or a circle |
28 | enum ChFi2d_ConstructionError |
29 | { |
30 | ChFi2d_NotPlanar, |
31 | ChFi2d_NoFace, |
32 | ChFi2d_InitialisationError, |
33 | ChFi2d_ParametersError, |
34 | ChFi2d_Ready, |
35 | ChFi2d_IsDone, |
36 | ChFi2d_ComputationError, |
37 | ChFi2d_ConnexionError, |
38 | ChFi2d_TangencyError, |
39 | ChFi2d_FirstEdgeDegenerated, |
40 | ChFi2d_LastEdgeDegenerated, |
41 | ChFi2d_BothEdgesDegenerated, |
42 | ChFi2d_NotAuthorized |
43 | }; |
44 | |
45 | #endif // _ChFi2d_ConstructionError_HeaderFile |