Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinarySearch ¶
*
- @description: 二分查找坐标对应的索引
- @param {[]float64} dataSet: 数据集
- @param {float64} findNum 需要查找的经纬度
- @param {int} midIndex 中间索引 传0
- @param {string} lOrRight 数据集是降序还是升序 desc or asc
- @return {*}
- @author: liqiyuWorks
func ConverMfwamPointToIndex ¶
func ConverMfwamPointToIndex(lonPoints, latPoints []string, lon float64, lat float64) ([]int, []int, error)
*
- @description: ConverMfwamPointToIndex
- @param {*} lonPoints
- @param {[]string} latPoints
- @param {float64} lon
- @param {float64} lat
- @return {*}
- @author: liqiyuWorks
Types ¶
type PointIndex ¶
Click to show internal directories.
Click to hide internal directories.