Writes out a Stereo Lithography (STL) representation of the solid to a file with the specified name.
Parameters
Parameters
Description
output
[in] Output stream buffer.
asciiFormat
[in] Flag determining the format of the output file (if true, the file has ASCII text format, or in other case the file has binary format).
Returns
eOk if successful or an appropriate error code in other case.
Remarks
If the specified file already exists, it will be overwritten.
If at least one of the obtained triangle points has at least one coordinate from the (-inf, 0] interval, then all points will be shifted to an octant, where all coordinates are positive numbers from the [0.01, +inf) interval.