0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / CSLib / CSLib_DerivativeStatus.hxx
1 // Created on: 1991-09-09
2 // Created by: Michel Chauvat
3 // Copyright (c) 1991-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 _CSLib_DerivativeStatus_HeaderFile
18 #define _CSLib_DerivativeStatus_HeaderFile
19
20
21 //! D1uIsNull : ||D1U|| <= Resolution
22 //!
23 //! D1vIsNull : ||D1V|| <= Resolution
24 //!
25 //! D1IsNull  : the first derivatives in the U and V parametric
26 //! directions have null length  :
27 //! ||D1U|| <= Resolution and ||D1V|| <= Resolution
28 //!
29 //! D1uD1vRatioIsNull : the first derivative in the U direction has
30 //! null length by comparison with the derivative
31 //! in the V direction
32 //! ||D1U|| / ||D1V|| <= RealEpsilon
33 //!
34 //! D1vD1uRatioIsNull : the first derivative in the V direction has
35 //! null length by comparison with the derivative
36 //! in the U direction
37 //! ||D1V|| / ||D1U|| <= RealEpsilon
38 //!
39 //! D1uIsParallelD1v : the angle between the derivatives in the U and
40 //! V direction is null (tolerance criterion given
41 //! as input data)
42 enum CSLib_DerivativeStatus
43 {
44 CSLib_Done,
45 CSLib_D1uIsNull,
46 CSLib_D1vIsNull,
47 CSLib_D1IsNull,
48 CSLib_D1uD1vRatioIsNull,
49 CSLib_D1vD1uRatioIsNull,
50 CSLib_D1uIsParallelD1v
51 };
52
53 #endif // _CSLib_DerivativeStatus_HeaderFile