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