public class XyzbWriter extends MeshWriterBase
MeshWriter.DataFormat, MeshWriter.FloatTypeDEFAULT_FORMAT| Constructor and Description |
|---|
XyzbWriter(java.io.File file) |
XyzbWriter(java.io.OutputStream os) |
XyzbWriter(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeMesh(BinaryOutputStream bout,
PointMesh mesh)
Writes a PointMesh to a PrintWriter, using the binary xyzb
format.
|
static void |
writeMesh(java.io.File file,
MeshBase mesh) |
void |
writeMesh(MeshBase mesh) |
static void |
writeMesh(java.lang.String fileName,
MeshBase mesh) |
close, flush, getFormat, getWriteNormals, setFormat, setFormat, setWriteNormalspublic XyzbWriter(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic XyzbWriter(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic XyzbWriter(java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionpublic void writeMesh(MeshBase mesh) throws java.io.IOException
writeMesh in interface MeshWriterwriteMesh in class MeshWriterBasejava.io.IOExceptionpublic void writeMesh(BinaryOutputStream bout, PointMesh mesh) throws java.io.IOException
bout - Binary output stream to write this mesh tomesh - PointMesh to be writtenjava.io.IOExceptionpublic static void writeMesh(java.lang.String fileName,
MeshBase mesh)
throws java.io.IOException
java.io.IOExceptionpublic static void writeMesh(java.io.File file,
MeshBase mesh)
throws java.io.IOException
java.io.IOException