org.jcae.mesh.xmldata
Class MeshReader
java.lang.Object
org.jcae.mesh.xmldata.MeshReader
public class MeshReader
- extends java.lang.Object
Method Summary |
static int[] |
getInfos(java.lang.String xmlDir)
|
static void |
main(java.lang.String[] args)
|
static void |
mergeGroups(java.lang.String xmlDir,
java.lang.String xmlGroupsFile)
|
static void |
readObject(Mesh2D mesh,
java.lang.String xmlDir,
int iFace)
Loads an Amibe 2D XML file into an existing Mesh2D instance. |
static void |
readObject3D(Mesh mesh,
java.lang.String xmlDir)
Loads an Amibe 3D XML file into an existing Mesh instance. |
static void |
readObject3D(Mesh mesh,
java.lang.String xmlDir,
double ridgeAngle)
Loads an Amibe 3D XML file into an existing Mesh instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeshReader
public MeshReader()
readObject
public static void readObject(Mesh2D mesh,
java.lang.String xmlDir,
int iFace)
throws java.io.IOException
- Loads an Amibe 2D XML file into an existing Mesh2D instance.
- Parameters:
mesh
- data structure updated when reading filesxmlDir
- directory containing XML filesiFace
- face number
- Throws:
java.io.IOException
readObject3D
public static void readObject3D(Mesh mesh,
java.lang.String xmlDir)
throws java.io.IOException
- Loads an Amibe 3D XML file into an existing Mesh instance.
- Parameters:
mesh
- data structure updated when reading filesxmlDir
- directory containing XML files
- Throws:
java.io.IOException
readObject3D
public static void readObject3D(Mesh mesh,
java.lang.String xmlDir,
double ridgeAngle)
throws java.io.IOException
- Loads an Amibe 3D XML file into an existing Mesh instance.
- Parameters:
mesh
- data structure updated when reading filesxmlDir
- directory containing XML filesridgeAngle
- an edge with a dihedral angle lower than this value is considered as a sharp edge which has to be preserved.
- Throws:
java.io.IOException
getInfos
public static int[] getInfos(java.lang.String xmlDir)
mergeGroups
public static void mergeGroups(java.lang.String xmlDir,
java.lang.String xmlGroupsFile)
main
public static void main(java.lang.String[] args)