maspack.geometry.io
Class GtsReader

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

public class GtsReader
extends MeshReaderBase


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

Constructor Detail

GtsReader

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

GtsReader

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

GtsReader

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

readMesh

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

readMesh

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

read

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

read

public static PolygonalMesh read(java.lang.String fileName)
                          throws java.io.IOException
Throws:
java.io.IOException