Back to home page

EIC code displayed by LXR

 
 

    


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

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 <TColStd_HArray1OfInteger.hxx>
0027 
0028 DEFINE_STANDARD_HANDLE(StepVisual_TessellatedConnectingEdge, StepVisual_TessellatedEdge)
0029 
0030 //! Representation of STEP entity TessellatedConnectingEdge
0031 class StepVisual_TessellatedConnectingEdge : public StepVisual_TessellatedEdge
0032 {
0033 
0034 public :
0035 
0036   //! default constructor
0037   Standard_EXPORT StepVisual_TessellatedConnectingEdge();
0038 
0039   //! Initialize all fields (own and inherited)
0040   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0041                             const Handle(StepVisual_CoordinatesList)& theTessellatedEdge_Coordinates,
0042                             const Standard_Boolean theHasTessellatedEdge_GeometricLink,
0043                             const StepVisual_EdgeOrCurve& theTessellatedEdge_GeometricLink,
0044                             const Handle(TColStd_HArray1OfInteger)& theTessellatedEdge_LineStrip,
0045                             const StepData_Logical theSmooth,
0046                             const Handle(StepVisual_TessellatedFace)& theFace1,
0047                             const Handle(StepVisual_TessellatedFace)& theFace2,
0048                             const Handle(TColStd_HArray1OfInteger)& theLineStripFace1,
0049                             const Handle(TColStd_HArray1OfInteger)& 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 Handle(StepVisual_TessellatedFace) Face1() const;
0059 
0060   //! Sets field Face1
0061   Standard_EXPORT void SetFace1 (const Handle(StepVisual_TessellatedFace)& theFace1);
0062 
0063   //! Returns field Face2
0064   Standard_EXPORT Handle(StepVisual_TessellatedFace) Face2() const;
0065 
0066   //! Sets field Face2
0067   Standard_EXPORT void SetFace2 (const Handle(StepVisual_TessellatedFace)& theFace2);
0068 
0069   //! Returns field LineStripFace1
0070   Standard_EXPORT Handle(TColStd_HArray1OfInteger) LineStripFace1() const;
0071 
0072   //! Sets field LineStripFace1
0073   Standard_EXPORT void SetLineStripFace1 (const Handle(TColStd_HArray1OfInteger)& theLineStripFace1);
0074 
0075   //! Returns number of LineStripFace1
0076   Standard_EXPORT Standard_Integer NbLineStripFace1() const;
0077 
0078   //! Returns value of LineStripFace1 by its num
0079   Standard_EXPORT Standard_Integer LineStripFace1Value(const Standard_Integer theNum) const;
0080 
0081   //! Returns field LineStripFace2
0082   Standard_EXPORT Handle(TColStd_HArray1OfInteger) LineStripFace2() const;
0083 
0084   //! Sets field LineStripFace2
0085   Standard_EXPORT void SetLineStripFace2 (const Handle(TColStd_HArray1OfInteger)& theLineStripFace2);
0086 
0087   //! Returns number of LineStripFace2
0088   Standard_EXPORT Standard_Integer NbLineStripFace2() const;
0089 
0090   //! Returns value of LineStripFace2 by its num
0091   Standard_EXPORT Standard_Integer LineStripFace2Value(const Standard_Integer theNum) const;
0092 
0093   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedConnectingEdge, StepVisual_TessellatedEdge)
0094 
0095 private:
0096 
0097   StepData_Logical mySmooth;
0098   Handle(StepVisual_TessellatedFace) myFace1;
0099   Handle(StepVisual_TessellatedFace) myFace2;
0100   Handle(TColStd_HArray1OfInteger) myLineStripFace1;
0101   Handle(TColStd_HArray1OfInteger) myLineStripFace2;
0102 
0103 };
0104 
0105 #endif // _StepVisual_TessellatedConnectingEdge_HeaderFile_