ResultPoint class
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.
@author Sean Owen
Constructors
- ResultPoint(double x, double y)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
crossProductZ(
ResultPoint pointA, ResultPoint pointB, ResultPoint pointC) → double - Returns the z component of the cross product between vectors BC and BA.
-
distance(
ResultPoint pattern1, ResultPoint pattern2) → double - @param pattern1 first pattern @param pattern2 second pattern @return distance between two points
-
orderBestPatterns(
List< ResultPoint> patterns) → void -
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.