maspack.geometry.io
Class OffReader
java.lang.Object
maspack.geometry.io.MeshReaderBase
maspack.geometry.io.OffReader
- All Implemented Interfaces:
- MeshReader
public class OffReader
- extends MeshReaderBase
Reads from ascii OFF format
- Author:
- Antonio
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OffReader
public OffReader(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
OffReader
public OffReader(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
OffReader
public OffReader(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
read
public static PolygonalMesh read(PolygonalMesh mesh,
java.io.Reader reader)
throws java.io.IOException
- Throws:
java.io.IOException
readMesh
public PolygonalMesh readMesh(MeshBase 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