getSquaredDistanceToLine

open fun getSquaredDistanceToLine(    @NonNull point: MPLatLng,     @NonNull lineP0: MPLatLng,     @NonNull lineP1: MPLatLng): Double

Return

distance

Parameters

point

point

lineP0

line

lineP1

line


open fun getSquaredDistanceToLine(    @NonNull point: MPPoint,     @NonNull lineP0: MPPoint,     @NonNull lineP1: MPPoint): Double

Return

distance

Parameters

point

point

lineP0

line point start

lineP1

line point end


open fun getSquaredDistanceToLine(    pntX: Double,     pntY: Double,     lineP0x: Double,     lineP0y: Double,     lineP1x: Double,     lineP1y: Double): Double

Return

distance

Parameters

pntX

x

pntY

y

lineP0x

line point 1 x

lineP0y

line point 1 y

lineP1x

line point 2 x

lineP1y

line point 2 y