⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cogeometries.hxx

📁 有限元学习研究用源代码(老外的),供科研人员参考
💻 HXX
字号:
#ifndef cogeometries_hxx
#define cogeometries_hxx

// collects the standard geometries
#ifndef cog_hxx
#include "cog.hxx"
#endif

#include "cogpoint.hxx"
#include "cog1d.hxx"
#include "cogfunction.hxx"
#include "cogpair.hxx"
#include "cogsimple.hxx"

void  cogToGL(cogeometry g); // cog2gl.cxx
void  cogToGL(cogeometry g, cogeometry g1); // cog2gl.cxx
void  cogToGL(cogeometry g, cogeometry g1,cogeometry g2); // cog2gl.cxx
void  cogToGL(cogeometry g, cogeometry g1,cogeometry g2,cogeometry g3);

inline void cogOutput(cogeometry g){cogToGL(g);}
inline void cogOutput(cogeometry g,cogeometry g1){cogToGL(g,g1);}
inline void cogOutput(cogeometry g,cogeometry g1,cogeometry g2)
	{cogToGL(g,g1,g2);}
inline void cogOutput(cogeometry g,cogeometry g1,cogeometry g2,cogeometry g3)
	{cogToGL(g,g1,g2,g3);}

class cogViewer{
public:
	virtual void add(cogeometry g, char* name="", char* title="")=0;
	virtual void show()=0;
	virtual void reset()=0;
};

class cogGLViewer: public cogViewer{
	void *rnd;int i;
public:
	cogGLViewer(char *title="");
	void add(cogeometry g, char* name="", char* title="");
	void show();
	void reset();
	~cogGLViewer();
};

extern cogViewer& cogView;

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -