Shapeworks Studio
2.1
Shape analysis software suite
|
#include <FECoreMesh.h>
Public Member Functions | |
FECoreMesh () | |
constructor | |
virtual | ~FECoreMesh () |
destructor | |
virtual void | Create (int nodes, int elems, int faces=0, int edges=0)=0 |
allocate space for mesh | |
bool | IsType (int ntype) |
check the type of the mesh More... | |
virtual int | Elements () const =0 |
total number of elements | |
virtual FEElement_ & | ElementRef (int n)=0 |
return reference to element | |
virtual FEElement * | ElementPtr (int n=0)=0 |
return pointer to element | |
int | Nodes () const |
int | Edges () const |
int | Faces () const |
FENode & | Node (int n) |
FEEdge & | Edge (int n) |
FEFace & | Face (int n) |
FENode * | NodePtr (int n=0) |
FEEdge * | EdgePtr (int n=0) |
FEFace * | FacePtr (int n=0) |
Protected Attributes | |
std::vector< FENode > | m_Node |
FE nodes. | |
std::vector< FEEdge > | m_Edge |
FE edges. | |
std::vector< FEFace > | m_Face |
FE faces. | |
This class defines a simple mesh structure that provides basic container services for storing mesh data.
Definition at line 8 of file FECoreMesh.h.
bool FECoreMesh::IsType | ( | int | ntype | ) |
check the type of the mesh
This function checks if all elements are of the type specified in the argument.
Definition at line 17 of file FECoreMesh.cpp.