AbstractReader.AbstractReader.AreDirectNeighbors C# (CSharp) Method

AreDirectNeighbors() private static method

private static AreDirectNeighbors ( Point point1, Point point2 ) : bool
point1 BitmapReader.Classes.Point
point2 BitmapReader.Classes.Point
return bool
        private static bool AreDirectNeighbors(Point point1, Point point2)
        {
            return Math.Abs(point1.X - point2.X) <= 15 && Math.Abs(point1.Y - point2.Y) <= 15;
        }