Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-12 09:18:56

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