📄 garmin_util.h
字号:
// $Id: garmin_util.h,v 1.1.1.1 2000/02/21 06:17:24 decouto Exp $// garmin_util.h// Douglas S. J. De Couto// May 26, 1998// Copyright (C) 1998 Douglas S. J. De Couto// <decouto@lcs.mit.edu>//// This program is free software; you can redistribute it and/or// modify it under the terms of the GNU General Public License// as published by the Free Software Foundation; either version 2// of the License, or (at your option) any later version.//// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.#ifndef _garmutil#define _garmutilnamespace garmin {// byte swap routinesuint16host2garmin16(uint16 x);uint16garmin2host16(uint16 x);uint32host2garmin32(uint32 x);uint32garmin2host32(uint32 x);double64host2garmin64(double64 x);double64garmin2host64(double64 x);// position unit conversionsradian_typesemicircle2radian(semicircle_type pos);degree_typesemicircle2degree(semicircle_type pos);semicircle_typeradian2semicircle(radian_type pos);semicircle_typedegree2semicircle(degree_type pos);degree_typeradian2degree(radian_type pos);radian_typedegree2radian(degree_type pos);double64rad2deg(double64 r);double64deg2rad(double64 d);} // namespace#endif // _garmutil
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -