distance

fun distance(pattern1: ResultPoint, pattern2: ResultPoint): Float

Return

distance between two points

Parameters

pattern1

first pattern

pattern2

second pattern