garminround.h

来自「garmin 协议处理范例: 处理了 0183协议 处理了 gps的专有格式等」· C头文件 代码 · 共 15 行

H
15
字号
# ifndef __GarminRound_H_
# define __GarminRound_H_

# include "PtAlgo.h"

	//
	// Round coordinates to Garmin's grid: 360/2^_cLevel.
	//
struct map_t;
float GarminLatGrid    (const map_t & _map, size_t _cLevelIdx);
void GarminRoundPoint  (const map_t & _map, size_t _cLevelIdx, point_t & _pt);
void GarminRoundPoints (const map_t & _map, size_t _cLevelIdx, points_t & _points);
void GarminRoundRect   (const map_t & _map, size_t _cLevelIdx, rect_t & _rect);

# endif // __GarminRound_H_

⌨️ 快捷键说明

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