|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.femmodels.UCDReader
public class UCDReader
A class to read an FEM described as Unstructured Cell Data with a uniform density. The UCD data format is described in Appendix E of the AVS Developer's Guide.
Constructor Summary | |
---|---|
UCDReader()
|
Method Summary | |
---|---|
static void |
read(FemModel3d model,
java.io.Reader reader,
double density,
Vector3d scale)
Creates an FemModel with uniform density based on UCD data read from a Reader. |
static void |
read(FemModel3d model,
java.lang.String fileName,
double density)
Creates an FemModel with uniform density based on UCD data contained in a specified file. |
static void |
read(FemModel3d model,
java.lang.String fileName,
double density,
double scale)
Creates an FemModel with uniform density based on UCD data contained in a specified file. |
static void |
read(FemModel3d model,
java.lang.String fileName,
double density,
Vector3d scale)
Creates an FemModel with uniform density based on UCD data contained in a specified file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UCDReader()
Method Detail |
---|
public static void read(FemModel3d model, java.lang.String fileName, double density) throws java.io.IOException
model
- FEM model to be populated by UCD datafileName
- path name of the UCD filedensity
- density of the model
java.io.IOException
- if this is a problem reading the filepublic static void read(FemModel3d model, java.lang.String fileName, double density, double scale) throws java.io.IOException
model
- FEM model to be populated by UCD datafileName
- path name of the UCD filedensity
- density of the modelscale
- factor by which node coordinate data should be scaled
java.io.IOException
- if this is a problem reading the filepublic static void read(FemModel3d model, java.lang.String fileName, double density, Vector3d scale) throws java.io.IOException
model
- FEM model to be populated by UCD datafileName
- path name of the UCD filedensity
- density of the modelscale
- if non-null, gives scaling about the x, y, and z axes
java.io.IOException
- if this is a problem reading the filepublic static void read(FemModel3d model, java.io.Reader reader, double density, Vector3d scale) throws java.io.IOException
model
- FEM model to be populated by UCD datareader
- reader from which to read UCD datadensity
- density of the modelscale
- if non-null, gives scaling about the x, y, and z axes
java.io.IOException
- if this is a problem reading the file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |