📄 cnode.h
字号:
/* CNode声明 */
#ifndef POINT
#define POINT
#include "Head.h"
// 点
class CNode
{
public:
// 构造函数
CNode();
CNode( double nx, double ny, double nz, int num = -1);
// 添加约束,true表示约束,默认为false
bool AddCons( BOOL constant[]);
// 从文件中读取一个点
bool Read( ifstream& readfile );
// 写入一个点到文件中
bool Write( ofstream& writefile);
// 坐标
double x, y, z;
// 节点号
int Num;
// 约束标识
BOOL m_constant[6];
};
#endif // CNode
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -