代码拉取完成,页面将自动刷新
package factors
import (
"math"
"gitee.com/giserhan/turf-go/helpers/constants"
)
const (
EarthRadius = constants.EarthRadius
)
type Factor float64
//factors
const (
Centimeters Factor = EarthRadius * 100
Centimetres Factor = EarthRadius * 100
Degrees Factor = 360 / (2 * math.Pi)
Feet Factor = EarthRadius * 3.28084
Inches Factor = EarthRadius * 39.37
Kilometers Factor = EarthRadius / 1000
Kilometres Factor = EarthRadius / 1000
Meters Factor = EarthRadius
Metres Factor = EarthRadius
Miles Factor = EarthRadius / 1609.344
Millimeters Factor = EarthRadius * 1000
Millimetres Factor = EarthRadius * 1000
Nauticalmiles Factor = EarthRadius / 1852
Radians Factor = 1.0
Yards Factor = EarthRadius * 1.0936
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。