Package org.anchoranalysis.spatial.point
Class PointsNeighborChecker
Object
PointsNeighborChecker
Checks if two or more points fulfill certain neighbor relations to each other.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Are all points in a list neighboring the next point in the list?static boolean
arePointsNeighbors
(Point3i point1, Point3i point2) Do two points have a big neighbor relationship to each other?
-
Method Details
-
areAllPointsInBigNeighborhood
Are all points in a list neighboring the next point in the list?- Parameters:
list
- the list of points to check.- Returns:
- true when all points have a big neighbor relationship to the subsequent point. false when any point fails this condition.
-
arePointsNeighbors
Do two points have a big neighbor relationship to each other?- Parameters:
point1
- the first point to check.point2
- the second point to check.- Returns:
- true iff the big neighbor relationship exists between the points.
-