public class XyzWriter extends MeshWriterBase
MeshWriter.DataFormat, MeshWriter.FloatTypeDEFAULT_FORMAT| Constructor and Description | 
|---|
| XyzWriter(java.io.File file) | 
| XyzWriter(java.io.OutputStream os) | 
| XyzWriter(java.lang.String fileName) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | writeMesh(MeshBase mesh) | 
| void | writeMesh(java.io.PrintWriter pw,
         PointMesh mesh)Writes a PointMesh to a PrintWriter, using the simple ascii xyz
 format. | 
close, flush, getFormat, getWriteNormals, setFormat, setFormat, setWriteNormalspublic XyzWriter(java.io.OutputStream os)
          throws java.io.IOException
java.io.IOExceptionpublic XyzWriter(java.io.File file)
          throws java.io.IOException
java.io.IOExceptionpublic XyzWriter(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(java.io.PrintWriter pw,
                      PointMesh mesh)
               throws java.io.IOException
 The format used to print the vertex and normal coordinates can be
 controlled by
 MeshWriterBase.setFormat(String) or MeshWriterBase.setFormat(NumberFormat).
 The default format has eight decimal places and is specified
 by the string "%.8g".
pw - PrintWriter to write this mesh tomesh - PointMesh to be writtenjava.io.IOException