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
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _ChFi2d_ConstructionError_HeaderFile
18 #define _ChFi2d_ConstructionError_HeaderFile
20 //! Error that can occur during the fillet construction on planar wire.
21 enum ChFi2d_ConstructionError
23 ChFi2d_NotPlanar, //!< the face is not planar
24 ChFi2d_NoFace, //!< the face is null
25 ChFi2d_InitialisationError, //!< the two faces used for the initialisation are uncompatible
26 ChFi2d_ParametersError, //!< the parameters as distances or angle for chamfer are less or equal to zero
27 ChFi2d_Ready, //!< the initialization has been successful
29 ChFi2d_ComputationError, //!< the algorithm could not find a solution
30 ChFi2d_ConnexionError, //!< the vertex given to locate the fillet or the chamfer is not connected to 2 edges
31 ChFi2d_TangencyError, //!< the two edges connected to the vertex are tangent
32 ChFi2d_FirstEdgeDegenerated, //!< the first edge is degenerated
33 ChFi2d_LastEdgeDegenerated, //!< the last edge is degenerated
34 ChFi2d_BothEdgesDegenerated, //!< the two edges are degenerated
35 ChFi2d_NotAuthorized //!< One or the two edges connected to the vertex is a fillet or a chamfer;
36 //! One or the two edges connected to the vertex is not a line or a circle
39 #endif // _ChFi2d_ConstructionError_HeaderFile