public class StlWriter extends MeshWriterBase
MeshWriter.DataFormat, MeshWriter.FloatType
DEFAULT_FORMAT
Constructor and Description |
---|
StlWriter(java.io.File file) |
StlWriter(java.io.OutputStream os) |
StlWriter(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
void |
writeMesh(MeshBase mesh) |
void |
writeMesh(PolygonalMesh mesh) |
close, flush, getFormat, getWriteNormals, setFormat, setFormat, setWriteNormals
public StlWriter(java.io.OutputStream os) throws java.io.IOException
java.io.IOException
public StlWriter(java.io.File file) throws java.io.IOException
java.io.IOException
public StlWriter(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public void writeMesh(PolygonalMesh mesh) throws java.io.IOException
java.io.IOException
public void writeMesh(MeshBase mesh) throws java.io.IOException
writeMesh
in interface MeshWriter
writeMesh
in class MeshWriterBase
java.io.IOException