Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-30 09:05:16

0001 // Created on: 2015-10-29
0002 // Created by: Galina Kulikova
0003 // Copyright (c) 2015 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _StepVisual_CoordinatesList_HeaderFile
0017 #define _StepVisual_CoordinatesList_HeaderFile
0018 #include <Standard.hxx>
0019 #include <Standard_DefineAlloc.hxx>
0020 #include <Standard_Handle.hxx>
0021 #include <gp_XYZ.hxx>
0022 #include <NCollection_Array1.hxx>
0023 #include <NCollection_HArray1.hxx>
0024 #include <StepVisual_TessellatedItem.hxx>
0025 
0026 class StepVisual_CoordinatesList : public StepVisual_TessellatedItem
0027 {
0028 public:
0029   DEFINE_STANDARD_ALLOC
0030 
0031   //! Returns a coordinate list
0032   Standard_EXPORT StepVisual_CoordinatesList();
0033 
0034   Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>&    theName,
0035                             const occ::handle<NCollection_HArray1<gp_XYZ>>& thePoints);
0036 
0037   Standard_EXPORT occ::handle<NCollection_HArray1<gp_XYZ>> Points() const;
0038 
0039   DEFINE_STANDARD_RTTIEXT(StepVisual_CoordinatesList, StepVisual_TessellatedItem)
0040 
0041 private:
0042   occ::handle<NCollection_HArray1<gp_XYZ>> myPoints;
0043 };
0044 #endif // StepVisual_CoordinatesList