maspack.geometry.io
Class XyzReader

java.lang.Object
  extended by maspack.geometry.io.MeshReaderBase
      extended by maspack.geometry.io.XyzReader
All Implemented Interfaces:
MeshReader

public class XyzReader
extends MeshReaderBase


Constructor Summary
XyzReader(java.io.File file)
           
XyzReader(java.io.InputStream is)
           
XyzReader(java.lang.String fileName)
           
 
Method Summary
static PointMesh read(java.io.File file)
           
 PointMesh read(PointMesh mesh, java.io.File file)
           
 PointMesh read(PointMesh mesh, java.io.InputStream in)
           
 PointMesh read(PointMesh mesh, java.lang.String fileName)
           
static PointMesh read(java.lang.String filename)
           
 PointMesh readMesh()
           
 MeshBase readMesh(MeshBase mesh)
           
 
Methods inherited from class maspack.geometry.io.MeshReaderBase
close
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XyzReader

public XyzReader(java.io.InputStream is)
          throws java.io.IOException
Throws:
java.io.IOException

XyzReader

public XyzReader(java.io.File file)
          throws java.io.IOException
Throws:
java.io.IOException

XyzReader

public XyzReader(java.lang.String fileName)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

read

public PointMesh read(PointMesh mesh,
                      java.io.InputStream in)
               throws java.io.IOException
Throws:
java.io.IOException

read

public PointMesh read(PointMesh mesh,
                      java.lang.String fileName)
               throws java.io.IOException
Throws:
java.io.IOException

read

public PointMesh read(PointMesh mesh,
                      java.io.File file)
               throws java.io.IOException
Throws:
java.io.IOException

readMesh

public PointMesh readMesh()
                   throws java.io.IOException
Overrides:
readMesh in class MeshReaderBase
Throws:
java.io.IOException

readMesh

public MeshBase readMesh(MeshBase mesh)
                  throws java.io.IOException
Throws:
java.io.IOException

read

public static PointMesh read(java.io.File file)
                      throws java.io.IOException
Throws:
java.io.IOException

read

public static PointMesh read(java.lang.String filename)
                      throws java.io.IOException
Throws:
java.io.IOException