Open CASCADE Technology: StlAPI Class Reference

Open CASCADE Technology 6.9.1

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Static Public Member Functions
StlAPI Class Reference

Offers the API for STL data manipulation. More...

`#include <StlAPI.hxx>`

## Static Public Member Functions
static StlAPI_ErrorStatus | Write (const TopoDS_Shape &aShape, const Standard_CString aFile, const Standard_Boolean aAsciiMode=Standard_True)
| Convert and write shape to STL format. file is written in binary if aAsciiMode is False otherwise it is written in Ascii (by default) More...
static void | Read (TopoDS_Shape &aShape, const Standard_CString aFile)
| Create a shape from a STL format. More...

## Detailed Description

Offers the API for STL data manipulation.

## Member Function Documentation

static void StlAPI::Read | ( | TopoDS_Shape & | aShape,
|  | const Standard_CString | aFile
| ) |  |
| static

Create a shape from a STL format.

static StlAPI_ErrorStatus StlAPI::Write | ( | const TopoDS_Shape & | aShape,
|  | const Standard_CString | aFile,
|  | const Standard_Boolean | aAsciiMode = `Standard_True`
| ) |  |
| static

Convert and write shape to STL format. file is written in binary if aAsciiMode is False otherwise it is written in Ascii (by default)

The documentation for this class was generated from the following file:

- StlAPI.hxx