File indexing completed on 2026-09-24 09:17:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepVisual_TriangulatedFace_HeaderFile_
0018 #define _StepVisual_TriangulatedFace_HeaderFile_
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedFace.hxx>
0023
0024 #include <Standard_Integer.hxx>
0025 #include <NCollection_Array1.hxx>
0026 #include <NCollection_HArray1.hxx>
0027 #include <NCollection_Array2.hxx>
0028 #include <NCollection_HArray2.hxx>
0029
0030
0031 class StepVisual_TriangulatedFace : public StepVisual_TessellatedFace
0032 {
0033
0034 public:
0035
0036 Standard_EXPORT StepVisual_TriangulatedFace();
0037
0038
0039 Standard_EXPORT void Init(
0040 const occ::handle<TCollection_HAsciiString>& theRepresentationItem_Name,
0041 const occ::handle<StepVisual_CoordinatesList>& theTessellatedFace_Coordinates,
0042 const int theTessellatedFace_Pnmax,
0043 const occ::handle<NCollection_HArray2<double>>& theTessellatedFace_Normals,
0044 const bool theHasTessellatedFace_GeometricLink,
0045 const StepVisual_FaceOrSurface& theTessellatedFace_GeometricLink,
0046 const occ::handle<NCollection_HArray1<int>>& thePnindex,
0047 const occ::handle<NCollection_HArray2<int>>& theTriangles);
0048
0049
0050 Standard_EXPORT occ::handle<NCollection_HArray1<int>> Pnindex() const;
0051
0052
0053 Standard_EXPORT void SetPnindex(const occ::handle<NCollection_HArray1<int>>& thePnindex);
0054
0055
0056 Standard_EXPORT int NbPnindex() const;
0057
0058
0059 Standard_EXPORT int PnindexValue(const int theNum) const;
0060
0061
0062 Standard_EXPORT occ::handle<NCollection_HArray2<int>> Triangles() const;
0063
0064
0065 Standard_EXPORT void SetTriangles(const occ::handle<NCollection_HArray2<int>>& theTriangles);
0066
0067
0068 Standard_EXPORT int NbTriangles() const;
0069
0070 DEFINE_STANDARD_RTTIEXT(StepVisual_TriangulatedFace, StepVisual_TessellatedFace)
0071
0072 private:
0073 occ::handle<NCollection_HArray1<int>> myPnindex;
0074 occ::handle<NCollection_HArray2<int>> myTriangles;
0075 };
0076
0077 #endif