BMFCalculateUtils class Null safety

计算工具接口

Constructors

BMFCalculateUtils()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

areaBetweenCoordinates(dynamic leftTop, dynamic rightBottom) → Future<double?>
计算地理矩形区域的面积
calculatePolygonArea(List coordinates) → Future<double?>
计算多边形polygon面积
circleContainsCoordinate(dynamic coord, dynamic center, double radius) → Future<bool?>
判断点是否在圆内
coordConvert({required dynamic coordinate, required dynamic fromType, dynamic toType}) → Future
经纬度坐标之间的坐标转换
getDirectionFromCoords(dynamic startCoord, dynamic endCoord) → Future<double?>
获取矢量坐标方向
getLocationDistance(dynamic startCoord, dynamic endCoord) → Future<double?>
计算两点之间的距离
getNearestPointToLine(List polyLine, dynamic coord) → Future
返回某点距线上最近的点
getPointToTheVerticalFootOfLine(dynamic coord, dynamic lineStart, dynamic lineEnd) → Future
获取点到线段的垂足
polygonContainsCoordinate(dynamic coord, List polygon) → Future<bool?>
判断点是否在多边形内