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

📄 input.h

📁 source code to compute the visibility polygon of a point in a polygon.
💻 H
字号:
/* Brian O'Connor * * input.h: functions for reading and processing an input file * containing a list of obstacles */#ifndef INPUT_H#define INPUT_H#define TRUE  	1#define FALSE	0#define INFINITY 1000000000.0#define PRECISION (0.0001) /* precision for fp calculations *//* a simple point type */class Point {public:	double x;	double y;	double w; /* not always used */};/* type for storing obstacles */class Obstacle {public:	int nPts;	Point *pts;};class WorldInfo;/* change this to allow for more obstacles */#define MAX_OBS	10#define MAX_INTERSECTIONS	100/* read obstacles from input file */void ReadInputFile( char *filename, WorldInfo *wInfo );#endif

⌨️ 快捷键说明

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