Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:30

0001 // Copyright (c) 2021 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _UnitsMethods_LengthUnit_HeaderFile
0015 #define _UnitsMethods_LengthUnit_HeaderFile
0016 
0017 //! The Enumeration describes possible values for length units
0018 enum UnitsMethods_LengthUnit
0019 {
0020   UnitsMethods_LengthUnit_Undefined = 0,   // 1.
0021   UnitsMethods_LengthUnit_Inch = 1,        // 25.4
0022   UnitsMethods_LengthUnit_Millimeter = 2,  // 1.
0023   UnitsMethods_LengthUnit_Foot = 4,        // 304.8
0024   UnitsMethods_LengthUnit_Mile = 5,        // 1609344.
0025   UnitsMethods_LengthUnit_Meter = 6,       // 1000.
0026   UnitsMethods_LengthUnit_Kilometer = 7,   // 1000000.
0027   UnitsMethods_LengthUnit_Mil = 8,         // (0.001 inch) // 0.0254
0028   UnitsMethods_LengthUnit_Micron = 9,      // 0.001
0029   UnitsMethods_LengthUnit_Centimeter = 10, // 10.
0030   UnitsMethods_LengthUnit_Microinch = 11   // 0.0000254
0031 };
0032 
0033 #endif // _UnitsMethods_LengthUnit