\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

$y

$y

Methods

__construct()

__construct(mixed  $x, mixed  $y) : mixed

Parameters

mixed $x
mixed $y

Returns

mixed —

orderBestPatterns()

orderBestPatterns(mixed  $patterns) : mixed

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

mixed $patterns

Returns

mixed —

distance()

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

Parameters

mixed $pattern1
mixed $pattern2

Returns

\Zxing\distance —

between two points

getX()

getX() : mixed

Returns

mixed —

getY()

getY() : mixed

Returns

mixed —

equals()

equals(mixed  $other) : mixed

Parameters

mixed $other

Returns

mixed —

hashCode()

hashCode() : mixed

Returns

mixed —

toString()

toString() : mixed

Returns

mixed —

crossProductZ()

crossProductZ(mixed  $pointA, mixed  $pointB, mixed  $pointC) : mixed

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

Parameters

mixed $pointA
mixed $pointB
mixed $pointC

Returns

mixed —