public class FeaturePoint extends java.lang.Object implements java.lang.Comparable<FeaturePoint>
| Modifier and Type | Field and Description |
|---|---|
int |
score
Score.
|
int |
x
X axis coordinate.
|
int |
y
Y axis coordinate.
|
| Constructor and Description |
|---|
FeaturePoint()
Initializes a new instance of the FeaturePoint class.
|
FeaturePoint(int x,
int y)
Initializes a new instance of the FeaturePoint class.
|
FeaturePoint(int x,
int y,
int score)
Initializes a new instance of the FeaturePoint class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FeaturePoint o) |
IntPoint |
toIntPoint()
Convert to IntPoint.
|
public int x
public int y
public int score
public FeaturePoint()
public FeaturePoint(int x,
int y)
x - X axis coordinate.y - Y axis coordinate.public FeaturePoint(int x,
int y,
int score)
x - X axis coordinate.y - Y axis coordinate.score - Score.public IntPoint toIntPoint()
public int compareTo(FeaturePoint o)
compareTo in interface java.lang.Comparable<FeaturePoint>