Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:17

0001 // Created on: 2000-06-23
0002 // Created by: Sergey MOZOKHIN
0003 // Copyright (c) 2000-2014 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 _StlAPI_Reader_HeaderFile
0017 #define _StlAPI_Reader_HeaderFile
0018 
0019 #include <Standard_Handle.hxx>
0020 
0021 class TopoDS_Shape;
0022 
0023 //! Reading from stereolithography format.
0024 class StlAPI_Reader
0025 {
0026 public:
0027 
0028   //! Reads STL file to the TopoDS_Shape (each triangle is converted to the face).
0029   //! @return True if reading is successful
0030   Standard_EXPORT Standard_Boolean Read (TopoDS_Shape&          theShape,
0031                                          const Standard_CString theFileName);
0032 
0033 };
0034 
0035 #endif // _StlAPI_Reader_HeaderFile