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_TessellatedEdge_HeaderFile_
0018 #define _StepVisual_TessellatedEdge_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedStructuredItem.hxx>
0023 
0024 #include <StepVisual_CoordinatesList.hxx>
0025 #include <StepVisual_EdgeOrCurve.hxx>
0026 #include <TColStd_HArray1OfInteger.hxx>
0027 
0028 DEFINE_STANDARD_HANDLE(StepVisual_TessellatedEdge, StepVisual_TessellatedStructuredItem)
0029 
0030 //! Representation of STEP entity TessellatedEdge
0031 class StepVisual_TessellatedEdge : public StepVisual_TessellatedStructuredItem
0032 {
0033 
0034 public :
0035 
0036   //! default constructor
0037   Standard_EXPORT StepVisual_TessellatedEdge();
0038 
0039   //! Initialize all fields (own and inherited)
0040   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0041                             const Handle(StepVisual_CoordinatesList)& theCoordinates,
0042                             const Standard_Boolean theHasGeometricLink,
0043                             const StepVisual_EdgeOrCurve& theGeometricLink,
0044                             const Handle(TColStd_HArray1OfInteger)& theLineStrip);
0045 
0046   //! Returns field Coordinates
0047   Standard_EXPORT Handle(StepVisual_CoordinatesList) Coordinates() const;
0048 
0049   //! Sets field Coordinates
0050   Standard_EXPORT void SetCoordinates (const Handle(StepVisual_CoordinatesList)& theCoordinates);
0051 
0052   //! Returns field GeometricLink
0053   Standard_EXPORT StepVisual_EdgeOrCurve GeometricLink() const;
0054 
0055   //! Sets field GeometricLink
0056   Standard_EXPORT void SetGeometricLink (const StepVisual_EdgeOrCurve& theGeometricLink);
0057 
0058   //! Returns True if optional field GeometricLink is defined
0059   Standard_EXPORT Standard_Boolean HasGeometricLink() const;
0060 
0061   //! Returns field LineStrip
0062   Standard_EXPORT Handle(TColStd_HArray1OfInteger) LineStrip() const;
0063 
0064   //! Sets field LineStrip
0065   Standard_EXPORT void SetLineStrip (const Handle(TColStd_HArray1OfInteger)& theLineStrip);
0066 
0067   //! Returns number of LineStrip
0068   Standard_EXPORT Standard_Integer NbLineStrip() const;
0069 
0070   //! Returns value of LineStrip by its num
0071   Standard_EXPORT Standard_Integer LineStripValue(const Standard_Integer theNum) const;
0072 
0073   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedEdge, StepVisual_TessellatedStructuredItem)
0074 
0075 private:
0076 
0077   Handle(StepVisual_CoordinatesList) myCoordinates;
0078   StepVisual_EdgeOrCurve myGeometricLink; //!< optional
0079   Handle(TColStd_HArray1OfInteger) myLineStrip;
0080   Standard_Boolean myHasGeometricLink; //!< flag "is GeometricLink defined"
0081 
0082 };
0083 
0084 #endif // _StepVisual_TessellatedEdge_HeaderFile_