public class NeighborhoodPoint extends Object implements ISamplePoint, Comparable<NeighborhoodPoint>
| Constructor and Description |
|---|
NeighborhoodPoint() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NeighborhoodPoint o) |
double |
getDistance()
Get the distance value associated with the point
|
double |
getDistanceSq(double x,
double y) |
ISamplePoint |
getPoint()
get the sample-point object stored in this instance.
|
double |
getX() |
double |
getY() |
double |
getZ() |
public double getDistance()
public ISamplePoint getPoint()
public int compareTo(NeighborhoodPoint o)
compareTo in interface Comparable<NeighborhoodPoint>public double getX()
getX in interface ISamplePointpublic double getY()
getY in interface ISamplePointpublic double getZ()
getZ in interface ISamplePointpublic double getDistanceSq(double x,
double y)
getDistanceSq in interface ISamplePointCopyright © 2019. All rights reserved.