|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.bora.xmldata.Storage
public class Storage
Constructor Summary | |
---|---|
Storage()
|
Method Summary | |
---|---|
static void |
readAllFaces(Mesh m,
BCADGraphCell root)
Populates a Mesh instance by reading all faces. |
static void |
readAllFaces(Mesh m,
BCADGraphCell root,
BSubMesh s)
Populates a Mesh instance by reading all faces. |
static void |
readAllVolumes(Mesh m,
BCADGraphCell root,
BSubMesh s)
Populates a Mesh instance by reading all volumes. |
static void |
readFace(Mesh mesh,
BCADGraphCell face,
BSubMesh s,
Append a discretized face into a Mesh instance. |
static void |
readVolume(Mesh mesh,
BCADGraphCell volume,
BSubMesh s,
Append a discretized solid into a Mesh instance. |
static void |
writeEdge(BDiscretization d,
java.lang.String outDir)
|
static void |
writeFace(BDiscretization d,
java.lang.String outDir)
|
static void |
writeId(java.io.File dir,
int id)
|
static void |
writeSolid(BDiscretization d,
java.lang.String outDir)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Storage()
Method Detail |
---|
public static void writeId(java.io.File dir, int id)
public static void writeEdge(BDiscretization d, java.lang.String outDir)
public static void writeFace(BDiscretization d, java.lang.String outDir)
public static void writeSolid(BDiscretization d, java.lang.String outDir)
public static void readAllFaces(Mesh m, BCADGraphCell root)
m
- Mesh
instanceroot
- root shape
java.lang.RuntimeException
- if an error occurredpublic static void readAllFaces(Mesh m, BCADGraphCell root, BSubMesh s)
m
- Mesh
instanceroot
- root shapes
- consider discretizations only if they appear in this BSubMesh instance
java.lang.RuntimeException
- if an error occurredpublic static void readFace(Mesh mesh, BCADGraphCell face, BSubMesh s,mapRefVertex)
mesh
- original meshface
- cell graph containing a CAD faces
- consider discretizations only if they appear in this BSubMesh instancemapRefVertex
- map between references and Vertex instances
java.lang.RuntimeException
- if an error occurredpublic static void readAllVolumes(Mesh m, BCADGraphCell root, BSubMesh s)
m
- Mesh
instanceroot
- root shape
java.lang.RuntimeException
- if an error occurredpublic static void readVolume(Mesh mesh, BCADGraphCell volume, BSubMesh s,mapRefVertex)
mesh
- original meshvolume
- cell graph containing a CAD solidmapRefVertex
- map between references and Vertex instances
java.lang.RuntimeException
- if an error occurred
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |