1 Star 0 Fork 68

yasenRK / 图与网络优化_Qt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
spvertexparam.h 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
ZzqiZQute 提交于 2018-06-25 21:36 . 20186252136
#ifndef SPVERTEXPARAM_H
#define SPVERTEXPARAM_H
class SPVertexParam
{
public:
SPVertexParam();
SPVertexParam(int p, double e);
int getP() const;
void setP(int value);
double getE() const;
void setE(double value);
bool getCurve() const;
void setCurve(bool value);
bool getMoveFlag() const;
void setMoveFlag(bool value);
int getY() const;
void setY(int value);
int getX() const;
void setX(int value);
int getOriy() const;
void setOriy(int value);
int getOrix() const;
void setOrix(int value);
void saveXY();
bool getHover() const;
void setHover(bool value);
double getDis() const;
void setDis(double value);
double getDeg() const;
void setDeg(double value);
int getWidth() const;
void setWidth(int value);
private:
int p;//前继节点
double e;//边长
int x;
int y;
double deg;
double dis;
int orix;
int oriy;
int width;
bool moveFlag;
bool curve;
bool hover;
};
#endif // SPVERTEXPARAM_H
C++
1
https://gitee.com/yasenrk/graph_and_network_optimization_qt.git
git@gitee.com:yasenrk/graph_and_network_optimization_qt.git
yasenrk
graph_and_network_optimization_qt
图与网络优化_Qt
master

搜索帮助