1 // Created on: 2015-10-29
2 // Created by: Galina Kulikova
3 // Copyright (c) 2015 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _StepVisual_TessellatedCurveSet_HeaderFile
17 #define _StepVisual_TessellatedCurveSet_HeaderFile
18 #include <Standard.hxx>
19 #include <Standard_DefineAlloc.hxx>
20 #include <Standard_Handle.hxx>
21 #include <StepVisual_CoordinatesList.hxx>
22 #include <StepVisual_TessellatedItem.hxx>
24 #include <NCollection_Vector.hxx>
25 #include <NCollection_Handle.hxx>
26 #include <StepVisual_CoordinatesList.hxx>
27 #include <TColStd_HSequenceOfInteger.hxx>
28 class Standard_Transient;
31 typedef NCollection_Vector<Handle(TColStd_HSequenceOfInteger)> StepVisual_VectorOfHSequenceOfInteger;
33 DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem);
36 class StepVisual_TessellatedCurveSet : public StepVisual_TessellatedItem
42 //! Returns a DraughtingCalloutElement select type
43 Standard_EXPORT StepVisual_TessellatedCurveSet();
45 Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName, const Handle(StepVisual_CoordinatesList)& theCoordList,
46 const NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger>& theCurves);
48 Standard_EXPORT Handle(StepVisual_CoordinatesList) CoordList() const;
49 Standard_EXPORT NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> Curves() const;
54 Handle(StepVisual_CoordinatesList) myCoordList;
55 NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> myCurves;
58 DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedCurveSet,StepVisual_TessellatedItem);
60 #endif // StepVisual_TessellatedCurveSet