Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-30 09:05:17

0001 // Created on : Thu Mar 24 18:30:12 2022
0002 // Created by: snn
0003 // Generator: Express (EXPRESS -> CASCADE/XSTEP Translator) V2.0
0004 // Copyright (c) Open CASCADE 2022
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepVisual_TessellatedConnectingEdge_HeaderFile_
0018 #define _StepVisual_TessellatedConnectingEdge_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedEdge.hxx>
0023 
0024 #include <StepData_Logical.hxx>
0025 #include <StepVisual_TessellatedFace.hxx>
0026 #include <Standard_Integer.hxx>
0027 #include <NCollection_Array1.hxx>
0028 #include <NCollection_HArray1.hxx>
0029 
0030 //! Representation of STEP entity TessellatedConnectingEdge
0031 class StepVisual_TessellatedConnectingEdge : public StepVisual_TessellatedEdge
0032 {
0033 
0034 public:
0035   //! default constructor
0036   Standard_EXPORT StepVisual_TessellatedConnectingEdge();
0037 
0038   //! Initialize all fields (own and inherited)
0039   Standard_EXPORT void Init(
0040     const occ::handle<TCollection_HAsciiString>&   theRepresentationItem_Name,
0041     const occ::handle<StepVisual_CoordinatesList>& theTessellatedEdge_Coordinates,
0042     const bool                                     theHasTessellatedEdge_GeometricLink,
0043     const StepVisual_EdgeOrCurve&                  theTessellatedEdge_GeometricLink,
0044     const occ::handle<NCollection_HArray1<int>>&   theTessellatedEdge_LineStrip,
0045     const StepData_Logical                         theSmooth,
0046     const occ::handle<StepVisual_TessellatedFace>& theFace1,
0047     const occ::handle<StepVisual_TessellatedFace>& theFace2,
0048     const occ::handle<NCollection_HArray1<int>>&   theLineStripFace1,
0049     const occ::handle<NCollection_HArray1<int>>&   theLineStripFace2);
0050 
0051   //! Returns field Smooth
0052   Standard_EXPORT StepData_Logical Smooth() const;
0053 
0054   //! Sets field Smooth
0055   Standard_EXPORT void SetSmooth(const StepData_Logical theSmooth);
0056 
0057   //! Returns field Face1
0058   Standard_EXPORT occ::handle<StepVisual_TessellatedFace> Face1() const;
0059 
0060   //! Sets field Face1
0061   Standard_EXPORT void SetFace1(const occ::handle<StepVisual_TessellatedFace>& theFace1);
0062 
0063   //! Returns field Face2
0064   Standard_EXPORT occ::handle<StepVisual_TessellatedFace> Face2() const;
0065 
0066   //! Sets field Face2
0067   Standard_EXPORT void SetFace2(const occ::handle<StepVisual_TessellatedFace>& theFace2);
0068 
0069   //! Returns field LineStripFace1
0070   Standard_EXPORT occ::handle<NCollection_HArray1<int>> LineStripFace1() const;
0071 
0072   //! Sets field LineStripFace1
0073   Standard_EXPORT void SetLineStripFace1(
0074     const occ::handle<NCollection_HArray1<int>>& theLineStripFace1);
0075 
0076   //! Returns number of LineStripFace1
0077   Standard_EXPORT int NbLineStripFace1() const;
0078 
0079   //! Returns value of LineStripFace1 by its num
0080   Standard_EXPORT int LineStripFace1Value(const int theNum) const;
0081 
0082   //! Returns field LineStripFace2
0083   Standard_EXPORT occ::handle<NCollection_HArray1<int>> LineStripFace2() const;
0084 
0085   //! Sets field LineStripFace2
0086   Standard_EXPORT void SetLineStripFace2(
0087     const occ::handle<NCollection_HArray1<int>>& theLineStripFace2);
0088 
0089   //! Returns number of LineStripFace2
0090   Standard_EXPORT int NbLineStripFace2() const;
0091 
0092   //! Returns value of LineStripFace2 by its num
0093   Standard_EXPORT int LineStripFace2Value(const int theNum) const;
0094 
0095   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedConnectingEdge, StepVisual_TessellatedEdge)
0096 
0097 private:
0098   StepData_Logical                        mySmooth;
0099   occ::handle<StepVisual_TessellatedFace> myFace1;
0100   occ::handle<StepVisual_TessellatedFace> myFace2;
0101   occ::handle<NCollection_HArray1<int>>   myLineStripFace1;
0102   occ::handle<NCollection_HArray1<int>>   myLineStripFace2;
0103 };
0104 
0105 #endif // _StepVisual_TessellatedConnectingEdge_HeaderFile_