cloud.debug OFF cloud: [] cloud 1: [(3.0,1.0), (2.0,2.0), (4.0,2.0), (3.0,3.0)] center point in cloud: (3.0,2.0) cloud: [(3.0,1.0), (2.0,2.0), (4.0,2.0), (3.0,3.0)] cloud 2: [(3.0,1.0), (2.0,2.0), (4.0,2.0), (3.0,3.0)] OK: point (7.0,7.0) is not in cloud left: 2.0 right: 4.0 top: 3.0 bottom: 1.0 min dist in cloud: 1.414 Test cloud with 1 point min dist in cloud1: 0.000