public class VtkAsciiReader extends MeshReaderBase
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_TOLERANCE |
Constructor and Description |
---|
VtkAsciiReader(java.io.File file) |
VtkAsciiReader(java.io.InputStream is) |
VtkAsciiReader(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
double |
getTolerance()
Gets tolerance to use when merging vertices
|
static PolygonalMesh |
read(java.io.File file) |
static PolygonalMesh |
read(PolygonalMesh mesh,
java.io.Reader reader) |
static PolygonalMesh |
read(PolygonalMesh mesh,
java.io.Reader reader,
double tol) |
static PolygonalMesh |
read(java.lang.String fileName) |
PolygonalMesh |
readMesh() |
MeshBase |
readMesh(MeshBase mesh) |
PolygonalMesh |
readMesh(PolygonalMesh mesh) |
void |
setTolerance(double tol)
Sets tolerance to use when merging vertices
|
close
public VtkAsciiReader(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public VtkAsciiReader(java.io.File file) throws java.io.IOException
java.io.IOException
public VtkAsciiReader(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public void setTolerance(double tol)
public double getTolerance()
public static PolygonalMesh read(PolygonalMesh mesh, java.io.Reader reader) throws java.io.IOException
java.io.IOException
public static PolygonalMesh read(PolygonalMesh mesh, java.io.Reader reader, double tol) throws java.io.IOException
java.io.IOException
public PolygonalMesh readMesh() throws java.io.IOException
readMesh
in class MeshReaderBase
java.io.IOException
public MeshBase readMesh(MeshBase mesh) throws java.io.IOException
java.io.IOException
public PolygonalMesh readMesh(PolygonalMesh mesh) throws java.io.IOException
java.io.IOException
public static PolygonalMesh read(java.io.File file) throws java.io.IOException
java.io.IOException
public static PolygonalMesh read(java.lang.String fileName) throws java.io.IOException
java.io.IOException