org.jcae.mesh.xmldata
Class MeshWriter

java.lang.Object
  extended by org.jcae.mesh.xmldata.MeshWriter

public class MeshWriter
extends java.lang.Object


Constructor Summary
MeshWriter()
           
 
Method Summary
static void writeObject(Mesh2D submesh, java.lang.String xmlDir, java.lang.String brepFile, int index)
          Write the current object to an Amibe 2D XML file and binary files.
static void writeObject3D(Mesh submesh, java.lang.String xmlDir, java.lang.String brepFile)
          Write the current object to an Amibe 3D XML file and binary files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeshWriter

public MeshWriter()
Method Detail

writeObject

public static void writeObject(Mesh2D submesh,
                               java.lang.String xmlDir,
                               java.lang.String brepFile,
                               int index)
                        throws java.io.IOException
Write the current object to an Amibe 2D XML file and binary files.

Parameters:
submesh - mesh to be written on disk
xmlDir - name of the XML file
brepFile - basename of the brep file
index - shape index
Throws:
java.io.IOException

writeObject3D

public static void writeObject3D(Mesh submesh,
                                 java.lang.String xmlDir,
                                 java.lang.String brepFile)
                          throws java.io.IOException
Write the current object to an Amibe 3D XML file and binary files.

Parameters:
submesh - mesh to be written on disk
xmlDir - name of the XML file
brepFile - basename of the brep file
Throws:
java.io.IOException