Libs/Mesh/PreviewMeshQC/FENodeFaceList.h
Classes
Name | |
---|---|
class | FENodeFaceList |
Source code
#pragma once
#include <vector>
using namespace std;
#include "FEMesh.h"
class FENodeFaceList
{
public:
FENodeFaceList(FEMesh* pm);
~FENodeFaceList(void);
void Build();
void BuildSorted();
int Nodes() { return (int) m_node.size(); }
FENode& Node(int i) { return m_pm->Node(m_node[i]); }
int Valence(int i) { return m_val[i]; }
FEFace* Face(int n, int i) { return m_pface[m_off[n] + i]; }
bool HasFace(int n, FEFace* pf);
protected:
void Sort(int node);
protected:
FEMesh* m_pm;
vector<int> m_node;
vector<int> m_val;
vector<FEFace*> m_pface;
vector<int> m_off;
};
Updated on 2022-07-23 at 16:40:07 -0600