cnode.h
来自「本程序主要用于计算空间刚架的位移。通过直接输入结构基本信息」· C头文件 代码 · 共 36 行
H
36 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?