Workspace 7.0.2
Namespaces | Functions
meshmodelutils.h File Reference
#include <QVector>
#include "Mesh/Geometry/vector3d.h"
#include "Mesh/mesh_api.h"
#include "elementtype.h"
#include "meshitemhandle.h"
Include dependency graph for meshmodelutils.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::Mesh
 Mesh model data structures.
 

Functions

bool calculateElementCentroid (const MeshModelInterface &model, const ElementType::Type &type, const ElementHandle &element, Vector3d &result)
 
bool calculateElementNormal (const ElementType::Type &type, const QVector< Vector3d > &points, Vector3d &result)
 
bool calculateElementNormal (const MeshModelInterface &model, const ElementType::Type &type, const ElementHandle &element, Vector3d &result)
 
bool calculateNodeNormal (const MeshModelInterface &model, const NodeHandle &node, Vector3d &result)
 
bool calculateQuadrilateralNormal (const Vector3d &pos0, const Vector3d &pos1, const Vector3d &pos2, const Vector3d &pos3, Vector3d &result)
 
double calculateTriangleArea (const Vector3d &pos0, const Vector3d &pos1, const Vector3d &pos2)
 
bool calculateTriangleNormal (const Vector3d &pos0, const Vector3d &pos1, const Vector3d &pos2, Vector3d &result)
 
ElementHandle getAttachedHexahedronFace (const MeshModelInterface &model, const ElementHandle &hexahedraElementHandle, int face, bool *handleFound, NodeHandleList *nodesOfAttachedHexaFace)
 
ElementHandle getAttachedTetrahedronFace (const MeshModelInterface &model, const ElementHandle &tetraElementHandle, int face, bool *handleFound, NodeHandleList *nodesOfAttachedTetraFace)
 
NodeHandleList getHexahedronFace (int face, const NodeHandleList &nodes)
 
NodeHandle getOpposingTetrahedronNode (int face, const NodeHandleList &nodes)
 
NodeHandleList getTetrahedronFace (int face, const NodeHandleList &nodes)
 
NodeHandle nextNodeHandle (const NodeHandleList &nodes, const NodeHandle &node)
 
NodeHandle prevNodeHandle (const NodeHandleList &nodes, const NodeHandle &node)