public static Boolean areCoordinatesWithinThreshold ( Tuple2 < Double , Double > point1 , Tuple2 < Double , Double > point2 ) { return getDistanceBetweenCoordinates ( point1 , point2 ) < COORDINATE_THRESHOLD ; }
Whether or not points are within some threshold .