Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-14 08:28:42

0001 // Created on: 1995-06-12
0002 // Created by: Joelle CHAUVET
0003 // Copyright (c) 1995-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 _ChFi2d_ConstructionError_HeaderFile
0018 #define _ChFi2d_ConstructionError_HeaderFile
0019 
0020 //! Error that can occur during the fillet construction on planar wire.
0021 enum ChFi2d_ConstructionError
0022 {
0023   ChFi2d_NotPlanar,           //!< the face is not planar
0024   ChFi2d_NoFace,              //!< the face is null
0025   ChFi2d_InitialisationError, //!< the two  faces used for the initialisation are uncompatible
0026   ChFi2d_ParametersError, //!< the parameters as distances or angle for chamfer are less or equal to
0027                           //!< zero
0028   ChFi2d_Ready,           //!< the initialization has been successful
0029   ChFi2d_IsDone,
0030   ChFi2d_ComputationError, //!< the algorithm could not find a solution
0031   ChFi2d_ConnexionError, //!< the vertex given to locate the fillet or the chamfer is not connected
0032                          //!< to 2 edges
0033   ChFi2d_TangencyError,  //!< the two edges connected to the vertex are tangent
0034   ChFi2d_FirstEdgeDegenerated, //!< the first edge is degenerated
0035   ChFi2d_LastEdgeDegenerated,  //!< the last edge is degenerated
0036   ChFi2d_BothEdgesDegenerated, //!< the two edges are degenerated
0037   ChFi2d_NotAuthorized //!< One or the two edges connected to the vertex is a fillet or a chamfer;
0038                        //!  One or the two edges connected to the vertex is not a line or a circle
0039 };
0040 
0041 #endif // _ChFi2d_ConstructionError_HeaderFile