\ZxingResultPoint

<p>Encapsulates a point of interest in an image containing a barcode. Typically, this would be the location of a finder pattern or the corner of the barcode, for example.</p>

Summary

Methods
Properties
Constants
__construct()
orderBestPatterns()
distance()
getX()
getY()
equals()
hashCode()
toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
crossProductZ()
$x
$y
N/A

Properties

$x

$x : 

Type

$y

$y : 

Type

Methods

__construct()

__construct(  $x,   $y) 

Parameters

$x
$y

orderBestPatterns()

orderBestPatterns(  $patterns) 

Orders an array of three ResultPoints in an order [A,B,C] such that AB is less than AC and BC is less than AC, and the angle between BC and BA is less than 180 degrees.

Parameters

$patterns

distance()

distance(  $pattern1,   $pattern2) : \Zxing\distance

Parameters

$pattern1
$pattern2

Returns

\Zxing\distance —

between two points

getX()

getX() 

getY()

getY() 

equals()

equals(  $other) 

Parameters

$other

hashCode()

hashCode() 

toString()

toString() 

crossProductZ()

crossProductZ(  $pointA,   $pointB,   $pointC) 

Returns the z component of the cross product between vectors BC and BA.

Parameters

$pointA
$pointB
$pointC