|
|
|||
File indexing completed on 2026-11-17 10:19:24
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 _GeomConvert_Units_HeaderFile 0015 #define _GeomConvert_Units_HeaderFile 0016 0017 #include <Standard_Handle.hxx> 0018 class Geom2d_Curve; 0019 class Geom_Surface; 0020 0021 //! Class contains conversion methods for 2d geom objects 0022 class GeomConvert_Units 0023 { 0024 public: 0025 DEFINE_STANDARD_ALLOC 0026 0027 //! Convert 2d curve for change angle unit from radian to degree 0028 Standard_EXPORT static occ::handle<Geom2d_Curve> RadianToDegree( 0029 const occ::handle<Geom2d_Curve>& theCurve, 0030 const occ::handle<Geom_Surface>& theSurface, 0031 const double theLengthFactor, 0032 const double theFactorRadianDegree); 0033 0034 //! Convert 2d curve for change angle unit from degree to radian 0035 Standard_EXPORT static occ::handle<Geom2d_Curve> DegreeToRadian( 0036 const occ::handle<Geom2d_Curve>& theCurve, 0037 const occ::handle<Geom_Surface>& theSurface, 0038 const double theLengthFactor, 0039 const double theFactorRadianDegree); 0040 0041 //! return 2d curve as 'mirror' for given 0042 Standard_EXPORT static occ::handle<Geom2d_Curve> MirrorPCurve( 0043 const occ::handle<Geom2d_Curve>& theCurve); 0044 }; 0045 0046 #endif // _GeomConvert_Units_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|