Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResultPoint

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

Hierarchy

Index

Constructors

constructor

Properties

Private x

x: float

Private y

y: float

Methods

equals

  • equals(other: Object): boolean

getX

  • getX(): float

getY

  • getY(): float

hashCode

  • hashCode(): int

toString

  • toString(): string

Static Private crossProductZ

Static distance

Static orderBestPatterns

  • orderBestPatterns(patterns: Array<ResultPoint>): 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.

    Parameters

    • patterns: Array<ResultPoint>

      array of three {@code ResultPoint} to order

    Returns void

Generated using TypeDoc