0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / ChFiDS / ChFiDS_ChamfMode.hxx
1 // Created by: Julia GERASIMOVA
2 // Copyright (c) 2015 OPEN CASCADE SAS
3 //
4 // This file is part of Open CASCADE Technology software library.
5 //
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
11 //
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
14
15 #ifndef _ChFiDS_ChamfMode_HeaderFile
16 #define _ChFiDS_ChamfMode_HeaderFile
17
18 //! this enumeration defines several modes of chamfer
19 enum ChFiDS_ChamfMode
20 {
21   //! chamfer with constant distance from spine to one of the two surfaces
22   ChFiDS_ClassicChamfer,
23   
24   //! symmetric chamfer with constant throat
25   //! that is the height of isosceles triangle in section
26   ChFiDS_ConstThroatChamfer,
27   
28   //! chamfer with constant throat: the section of chamfer is right-angled triangle,
29   //! the first of two surfaces (where is the top of the chamfer)
30   //! is virtually moved inside the solid by offset operation,
31   //! the apex of the section is on the intersection curve between moved surface and second surface,
32   //! right angle is at the top of the chamfer,
33   //! the length of the leg from apex to top is constant - it is throat
34   ChFiDS_ConstThroatWithPenetrationChamfer
35 };
36
37 #endif // _ChFiDS_ChamfMode_HeaderFile