Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-19 09:27:35

0001 // Created on: 1991-09-09
0002 // Created by: Michel Chauvat
0003 // Copyright (c) 1991-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 _CSLib_DerivativeStatus_HeaderFile
0018 #define _CSLib_DerivativeStatus_HeaderFile
0019 
0020 //! Status of surface derivatives computation for normal calculation.
0021 //!
0022 //! Describes the result of attempting to compute a surface normal
0023 //! from the first derivatives D1U and D1V at a point on a surface.
0024 enum CSLib_DerivativeStatus
0025 {
0026   CSLib_Done,              //!< Normal computed successfully.
0027   CSLib_D1uIsNull,         //!< D1U has null length: ||D1U|| <= Resolution.
0028   CSLib_D1vIsNull,         //!< D1V has null length: ||D1V|| <= Resolution.
0029   CSLib_D1IsNull,          //!< Both derivatives are null.
0030   CSLib_D1uD1vRatioIsNull, //!< D1U is negligible: ||D1U|| / ||D1V|| <= RealEpsilon.
0031   CSLib_D1vD1uRatioIsNull, //!< D1V is negligible: ||D1V|| / ||D1U|| <= RealEpsilon.
0032   CSLib_D1uIsParallelD1v   //!< D1U and D1V are parallel.
0033 };
0034 
0035 #endif // _CSLib_DerivativeStatus_HeaderFile