Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-15 09:17:20

0001 // Copyright (c) 2022 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 _StepVisual_RepositionedTessellatedItem_HeaderFile
0015 #define _StepVisual_RepositionedTessellatedItem_HeaderFile
0016 
0017 #include <StepVisual_TessellatedItem.hxx>
0018 
0019 class StepGeom_Axis2Placement3d;
0020 
0021 //! Representation of STEP entity RepositionedTessellatedItem
0022 class StepVisual_RepositionedTessellatedItem : public StepVisual_TessellatedItem
0023 {
0024 public:
0025   DEFINE_STANDARD_RTTIEXT(StepVisual_RepositionedTessellatedItem, StepVisual_TessellatedItem)
0026 
0027   DEFINE_STANDARD_ALLOC
0028 
0029   //! Default constructor
0030   StepVisual_RepositionedTessellatedItem() = default;
0031 
0032   //! Initialize all fields (own and inherited)
0033   Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>&  theName,
0034                             const occ::handle<StepGeom_Axis2Placement3d>& theLocation);
0035 
0036   //! Returns location
0037   occ::handle<StepGeom_Axis2Placement3d> Location() const { return myLocation; }
0038 
0039   //! Sets location
0040   void SetLocation(const occ::handle<StepGeom_Axis2Placement3d>& theLocation)
0041   {
0042     myLocation = theLocation;
0043   }
0044 
0045 private:
0046   occ::handle<StepGeom_Axis2Placement3d> myLocation;
0047 };
0048 #endif // StepVisual_RepositionedTessellatedItem_HeaderFile