maspack.geometry.io
Class GenericMeshReader
java.lang.Object
maspack.geometry.io.GenericMeshReader
- All Implemented Interfaces:
- MeshReader
public class GenericMeshReader
- extends java.lang.Object
- implements MeshReader
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericMeshReader
public GenericMeshReader(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
GenericMeshReader
public GenericMeshReader(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
getDataFormat
public MeshWriter.DataFormat getDataFormat()
getFloatType
public MeshWriter.FloatType getFloatType()
getPrecision
public int getPrecision()
readMesh
public MeshBase readMesh()
throws java.io.IOException
- Throws:
java.io.IOException
readMesh
public MeshBase readMesh(MeshBase mesh)
throws java.io.IOException
- Specified by:
readMesh
in interface MeshReader
- Throws:
java.io.IOException
close
public void close()
- Specified by:
close
in interface MeshReader
readMesh
public static MeshBase readMesh(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
readMesh
public static MeshBase readMesh(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
readMesh
public static MeshBase readMesh(java.io.File file,
MeshBase mesh)
throws java.io.IOException
- Throws:
java.io.IOException