public 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.
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<io.scanbot.sdk.barcode.entity.ResultPoint> |
CREATOR |
| Constructor and Description |
|---|
ResultPoint() |
ResultPoint() |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
static float |
distance() |
static float |
distance() |
boolean |
equals() |
float |
getX() |
float |
getY() |
int |
hashCode() |
static void |
orderBestPatterns()
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.
|
java.lang.String |
toString() |
void |
writeToParcel() |
public static android.os.Parcelable.Creator<io.scanbot.sdk.barcode.entity.ResultPoint> CREATOR
public void writeToParcel()
public int describeContents()
public float getX()
public float getY()
public boolean equals()
public int hashCode()
public java.lang.String toString()
public static void orderBestPatterns()
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.
public static float distance()
public static float distance()