TResultPointHelpers.distance Method

calculates the distance between two points

Unit: ZXing.ResultPoint
class function distance(const pattern1: IResultPoint; const pattern2: IResultPoint): Single

Parameters

pattern1
Type: ZXing.ResultPoint.IResultPoint

first pattern

pattern2
Type: ZXing.ResultPoint.IResultPoint

second pattern

Return Value

Type: System.Single

distance between two points