Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:16

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