maspack.geometry.io
Class OffWriter
java.lang.Object
maspack.geometry.io.MeshWriterBase
maspack.geometry.io.OffWriter
- All Implemented Interfaces:
- MeshWriter
public class OffWriter
- extends MeshWriterBase
Writes to ascii OFF format
- Author:
- Antonio
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OffWriter
public OffWriter(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
OffWriter
public OffWriter(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
OffWriter
public OffWriter(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
writeMesh
public static void writeMesh(java.lang.String fileName,
PolygonalMesh mesh)
throws java.io.IOException
- Throws:
java.io.IOException
writeMesh
public void writeMesh(PolygonalMesh mesh)
throws java.io.IOException
- Throws:
java.io.IOException
writeMesh
public void writeMesh(MeshBase mesh)
throws java.io.IOException
- Specified by:
writeMesh
in interface MeshWriter
- Specified by:
writeMesh
in class MeshWriterBase
- Throws:
java.io.IOException