Добавьте файлы проекта.
This commit is contained in:
29
include/Mesh.hpp
Normal file
29
include/Mesh.hpp
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef MIMAPR_MESH_H
|
||||
#define MIMAPR_MESH_H
|
||||
|
||||
#include <vector>
|
||||
#include "Object.hpp"
|
||||
#include "Node.hpp"
|
||||
|
||||
class Mesh{
|
||||
std::vector<std::vector<Node*>> _mesh;
|
||||
std::vector<Node*> _hlines;
|
||||
std::vector<Node*> _vlines;
|
||||
Object& _obj;
|
||||
double _step;
|
||||
void LinkX();
|
||||
void LinkY();
|
||||
void Delnode(int, int);
|
||||
void Adapt();
|
||||
|
||||
public:
|
||||
Mesh(Object&, double);
|
||||
void ShowLinks();
|
||||
std::vector<std::vector<Node*>>& Nodes();
|
||||
std::vector<Node*>& LineX();
|
||||
std::vector<Node*>& LineY();
|
||||
~Mesh();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user