|
|
|||
File indexing completed on 2026-09-28 09:20:14
0001 // Copyright (c) 2025 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 _GeomToStep_MakeCartesianTransformationOperator_HeaderFile 0015 #define _GeomToStep_MakeCartesianTransformationOperator_HeaderFile 0016 0017 #include <Standard.hxx> 0018 #include <Standard_DefineAlloc.hxx> 0019 #include <Standard_Handle.hxx> 0020 0021 #include <GeomToStep_Root.hxx> 0022 #include <StepData_StepModel.hxx> 0023 #include <StepGeom_CartesianTransformationOperator3d.hxx> 0024 0025 class gp_Trsf; 0026 0027 //! This class creates a cartesian_transformation_operator from gp_Trsf. 0028 //! This entity is used in OCCT to implement a transformation with scaling. 0029 //! In case of other inputs without scaling use Axis2Placement3d. 0030 class GeomToStep_MakeCartesianTransformationOperator : public GeomToStep_Root 0031 { 0032 public: 0033 DEFINE_STANDARD_ALLOC 0034 0035 //! Main constructor. 0036 //! @param[in] theTrsf Transformation to create the operator from it. 0037 //! @param[in] theLocalFactors Unit scale factors 0038 Standard_EXPORT GeomToStep_MakeCartesianTransformationOperator( 0039 const gp_Trsf& theTrsf, 0040 const StepData_Factors& theLocalFactors = StepData_Factors()); 0041 0042 //! Returns the created entity. 0043 //! @return The created value. 0044 inline const occ::handle<StepGeom_CartesianTransformationOperator3d>& Value() const 0045 { 0046 return myTrsfOp; 0047 } 0048 0049 private: 0050 occ::handle<StepGeom_CartesianTransformationOperator3d> myTrsfOp; 0051 }; 0052 0053 #endif // _GeomToStep_MakeCartesianTransformationOperator_HeaderFile
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|