vispoly.h
来自「source code to compute the visibility po」· C头文件 代码 · 共 41 行
H
41 行
/* Brian O'Connor * * vispoly.h: functions & data structures for creating a visibility * polygon */#ifndef VISPOLY_H#define VISPOLY_H#include "input.h"#include "line.h"#define CALCPOLY_PTS 40class EdgeInfo;class VPEdge: public Line {public: VPEdge(Point *p1, Point *p2) : Line(p1, p2) { bGap = FALSE; bMark = FALSE; fullEdge = NULL;} Line *fullEdge; int bGap; int bMark;};class VPoly {public: int nEdges; VPEdge **edges;};int MakeVisPoly(EdgeInfo *eInfo, Point *p, VPoly *vpoly);void ExtendGapEdge(Point *p1, Point *p2, EdgeInfo *e, EdgeInfo *vEdges, Obstacle *o2);#endif /*VISPOLY_H*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?