public interface MeshData extends PropFeature
Modifier and Type | Method and Description |
---|---|
void |
clearData()
Clears the MeshData object.
|
void |
createMesh()
Construct a complete mesh from the MeshData object and store it in the
meshing sequence.
|
int[][] |
getElem(java.lang.String type)
Gets elements from the mesh.
|
int[][] |
getElem(java.lang.String type,
int position,
int number)
Gets blocks of elements from the mesh.
|
int[] |
getElemEntity(java.lang.String type)
Gets geometric entity number for the elements of a specific type.
|
int[] |
getElemEntity(java.lang.String type,
int position,
int number)
Gets blocks of geometric entity number for the elements of a specific
type.
|
int |
getNumElem(java.lang.String type)
Gets the number of elements of a specific type.
|
int |
getNumVertex()
Gets the number of mesh vertices in a mesh.
|
java.lang.String[] |
getTypes()
Gets the element types in the mesh.
|
double[][] |
getVertex()
Gets the coordinates of the mesh vertices.
|
double[][] |
getVertex(int position,
int number)
Gets block of coordinates of the mesh vertices.
|
MeshData |
setElem(java.lang.String type,
int[][] elem)
Sets the mesh data.
|
MeshData |
setElem(java.lang.String type,
int position,
int[][] elem)
Inserts block of mesh data.
|
MeshData |
setElemEntity(java.lang.String type,
int[] elem)
Sets geometric entity number for the elements of a specific type.
|
MeshData |
setElemEntity(java.lang.String type,
int position,
int[] elem)
Inserts block of geometric entity numbers for the elements of a
specific type.
|
MeshData |
setVertex(double[][] vtx)
Sets the mesh vertices.
|
MeshData |
setVertex(int position,
double[][] vtx)
Inserts a block of mesh vertices.
|
void |
transferMesh()
Transfers the mesh from the current meshing sequence into the MeshData
object.
|
void |
transferMesh(java.lang.String tag)
Transfers the mesh from another meshing sequence into the MeshData
object.
|
getAllowedPropertyValues, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanMatrix, getDouble, getDouble, getDouble, getDoubleArray, getDoubleMatrix, getEntryKeyIndex, getEntryKeys, getInt, getInt, getInt, getIntArray, getIntMatrix, getReferenceArray, getString, getString, getString, getString, getStringArray, getStringMatrix, getType, getValueType, hasProperty, hasSelection, move, move, properties, remove, remove, selection, set, set, set, set, set, set, set, set, set, set, set, set, setEntry, setEntry, setEntry, setEntry, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex
selection
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
getContainer, getDisplayString
void clearData()
void createMesh()
int[][] getElem(java.lang.String type)
type
- Mesh type.int[][] getElem(java.lang.String type, int position, int number)
type
- Mesh type.position
- Start index.number
- Length of block.int[] getElemEntity(java.lang.String type)
type
- Mesh type.int[] getElemEntity(java.lang.String type, int position, int number)
type
- Mesh type.position
- Start index.number
- Length of block.int getNumElem(java.lang.String type)
type
- Mesh type.int getNumVertex()
java.lang.String[] getTypes()
double[][] getVertex()
double[][] getVertex(int position, int number)
position
- Start index.number
- Length of block.MeshData setElem(java.lang.String type, int[][] elem)
type
- Mesh type.elem
- Matrix where each column contains the mesh vertex indices of an
element's corners.MeshData setElem(java.lang.String type, int position, int[][] elem)
type
- Mesh type.position
- Start index.elem
- Matrix where each column contains the mesh vertex indices of an
element's corners.MeshData setElemEntity(java.lang.String type, int[] elem)
type
- Mesh type.elem
- Geometric entity number.MeshData setElemEntity(java.lang.String type, int position, int[] elem)
type
- Mesh type.position
- Start index.elem
- Geometric entity number.MeshData setVertex(double[][] vtx)
vtx
- Matrix where each column corresponds to a mesh vertex.MeshData setVertex(int position, double[][] vtx)
position
- Start index.vtx
- Matrix where each column corresponds to a mesh vertex.void transferMesh()
void transferMesh(java.lang.String tag)
tag
- Mesh sequence tag.