org.jcae.mesh.xmldata
Class UNV2Amibe
java.lang.Object
org.jcae.mesh.xmldata.UNV2Amibe
public class UNV2Amibe
- extends java.lang.Object
Convert a UNV mesh to an Amibe mesh.
- The convertion is out-of-core and can handle large mesh.
- The nodes and triangles of the input file must have contiguous ids.
- Only triangles, nodes, and groups are imported.
- 2412-21 (linear beams) and 2412-92 (parabolic trias) are exported as a minimal unv
if setStripedUnv as been called.
- If the input file do not contains any groups, a group with all triangles is
created.
- Author:
- Jerome Robert
Method Summary |
void |
importMesh(java.io.BufferedReader in,
java.io.File outputDir)
|
void |
importMesh(java.io.File input,
java.lang.String output)
|
void |
importMesh(java.lang.String input,
java.lang.String output)
|
static void |
main(java.lang.String[] args)
|
void |
setStripedUnv(java.lang.String file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNV2Amibe
public UNV2Amibe()
importMesh
public void importMesh(java.lang.String input,
java.lang.String output)
throws java.io.IOException
- Throws:
java.io.IOException
importMesh
public void importMesh(java.io.File input,
java.lang.String output)
throws java.io.IOException
- Throws:
java.io.IOException
importMesh
public void importMesh(java.io.BufferedReader in,
java.io.File outputDir)
throws java.io.IOException
- Throws:
java.io.IOException
setStripedUnv
public void setStripedUnv(java.lang.String file)
main
public static void main(java.lang.String[] args)