api/aspherix_mesh_element.h
This is the header file used to access the properties of a mesh element. The member functions are:
MeshElement
Constructor
getId
Gets the id (indexed at 1) of a mesh element.
getForce
Get the force acting on this mesh element.
getNode
Get the position of the i-th node of a mesh element.
move
Move a mesh element by a certain dx.
rotate
Rotate the mesh element based on an origin around an axis by angle.
getScalarProperty
Gets a scalar property of a mesh element (e.g. the amount of wear it experienced).
setScalarProperty
Sets a scalar property of a mesh element.
getListOfScalarProperties
Gets a list of all scalar properties of a mesh element.
getVectorProperty
Gets a vector property of a mesh element.
setVectorProperty
Sets a vector property of a mesh element.
getListOfVectorProperties
Gets a list of all vector properties of a mesh element.