|
||||
File indexing completed on 2025-01-18 10:03:38
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 0026 DEFINE_STANDARD_ALLOC 0027 0028 //! Convert 2d curve for change angle unit from radian to degree 0029 Standard_EXPORT static Handle(Geom2d_Curve) RadianToDegree( 0030 const Handle(Geom2d_Curve)& theCurve, 0031 const Handle(Geom_Surface)& theSurface, 0032 const Standard_Real theLengthFactor, 0033 const Standard_Real theFactorRadianDegree); 0034 0035 //! Convert 2d curve for change angle unit from degree to radian 0036 Standard_EXPORT static Handle(Geom2d_Curve) DegreeToRadian( 0037 const Handle(Geom2d_Curve)& theCurve, 0038 const Handle(Geom_Surface)& theSurface, 0039 const Standard_Real theLengthFactor, 0040 const Standard_Real theFactorRadianDegree); 0041 0042 //! return 2d curve as 'mirror' for given 0043 Standard_EXPORT static Handle(Geom2d_Curve) MirrorPCurve(const Handle(Geom2d_Curve)& theCurve); 0044 0045 }; 0046 0047 #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 |