File indexing completed on 2026-09-12 09:18:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
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 <Standard_Integer.hxx>
0027 #include <NCollection_Array1.hxx>
0028 #include <NCollection_HArray1.hxx>
0029
0030
0031 class StepVisual_TessellatedEdge : public StepVisual_TessellatedStructuredItem
0032 {
0033
0034 public:
0035
0036 Standard_EXPORT StepVisual_TessellatedEdge();
0037
0038
0039 Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& theRepresentationItem_Name,
0040 const occ::handle<StepVisual_CoordinatesList>& theCoordinates,
0041 const bool theHasGeometricLink,
0042 const StepVisual_EdgeOrCurve& theGeometricLink,
0043 const occ::handle<NCollection_HArray1<int>>& theLineStrip);
0044
0045
0046 Standard_EXPORT occ::handle<StepVisual_CoordinatesList> Coordinates() const;
0047
0048
0049 Standard_EXPORT void SetCoordinates(
0050 const occ::handle<StepVisual_CoordinatesList>& theCoordinates);
0051
0052
0053 Standard_EXPORT StepVisual_EdgeOrCurve GeometricLink() const;
0054
0055
0056 Standard_EXPORT void SetGeometricLink(const StepVisual_EdgeOrCurve& theGeometricLink);
0057
0058
0059 Standard_EXPORT bool HasGeometricLink() const;
0060
0061
0062 Standard_EXPORT occ::handle<NCollection_HArray1<int>> LineStrip() const;
0063
0064
0065 Standard_EXPORT void SetLineStrip(const occ::handle<NCollection_HArray1<int>>& theLineStrip);
0066
0067
0068 Standard_EXPORT int NbLineStrip() const;
0069
0070
0071 Standard_EXPORT int LineStripValue(const int theNum) const;
0072
0073 DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedEdge, StepVisual_TessellatedStructuredItem)
0074
0075 private:
0076 occ::handle<StepVisual_CoordinatesList> myCoordinates;
0077 StepVisual_EdgeOrCurve myGeometricLink;
0078 occ::handle<NCollection_HArray1<int>> myLineStrip;
0079 bool myHasGeometricLink;
0080 };
0081
0082 #endif