0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / StlAPI / StlAPI.cdl
1 -- File:        StlAPI.cdl
2 -- Created:     Tue May 13 15:12:43 1997
3 -- Author:      Fabien REUTER
4 --              <frr@sgi69>
5 ---Copyright:    Matra Datavision 1997
6
7 package  StlAPI 
8
9          ---Purpose : Offers the API for STL data manipulation.
10          --         
11
12 uses 
13  
14     TopoDS,
15     StlMesh
16      
17 is 
18     class Writer; 
19     class Reader; 
20     
21     Write(aShape      : in Shape from TopoDS;  
22           aFile       : in CString from Standard;
23           aAsciiMode  : in Boolean from Standard = Standard_True);
24           ---Purpose : Convert and write shape to STL format.
25           --         file is written in binary if aAsciiMode is False
26           --         otherwise it is written in Ascii (by default)
27
28     Read(aShape      : in out Shape from TopoDS;  
29           aFile      : CString from Standard);
30           ---Purpose : Create a shape from a STL format.
31
32 end  StlAPI;