matches

fun matches(point1: Point, point2: Point): Boolean