Class PointsNeighborChecker

Object
PointsNeighborChecker

public class PointsNeighborChecker extends Object
Checks if two or more points fulfill certain neighbor relations to each other.
Author:
Owen Feehan
  • Method Details

    • areAllPointsInBigNeighborhood

      public static boolean areAllPointsInBigNeighborhood(List<Point3i> list)
      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

      public static boolean arePointsNeighbors(Point3i point1, Point3i point2)
      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.