TencentNavKit

Class Methods | List of all members
TNKMathTool Class Reference

数学库类 More...

`#import <TNKMathTool.h>`

Inheritance diagram for TNKMathTool:

## Class Methods
(double) | + distanceBetweenCoordinate:coordinate:
| 计算两点直接的距离 More...
(QMapRect) | + mapRectFitsPoints:
| 获取包裹点串的Rect More...
(QMapRect) | + mapRectFitsTwoCoordinates:coordinate:

## Detailed Description

数学库类

## Method Documentation

## ◆ distanceBetweenCoordinate:coordinate:

+ (double) distanceBetweenCoordinate: |  | (CLLocationCoordinate2D) | coordinate1
coordinate: |  | (CLLocationCoordinate2D) | coordinate2

计算两点直接的距离

Parameters

  coordinate1 | 第一个点的坐标
  coordinate2 | 第二个点的坐标

## ◆ mapRectFitsPoints:

+ (QMapRect) mapRectFitsPoints: |  | (NSArray< TNKCoordinatePoint * > *) | points |

获取包裹点串的Rect

Parameters

  points | 坐标点串

## ◆ mapRectFitsTwoCoordinates:coordinate:

+ (QMapRect) mapRectFitsTwoCoordinates: |  | (CLLocationCoordinate2D) | coordinate1
coordinate: |  | (CLLocationCoordinate2D) | coordinate2

The documentation for this class was generated from the following file:

- TNKMathTool.h