This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Circle getCircleAtPosition(MotionEvent event) { | |
// List des distances des cercles candidats | |
List<Float> distanceList = new ArrayList<Float>(); | |
// Listes des cercles candidats | |
List<Circle> candidateList = new ArrayList<Circle>(); | |
int bestcandidate = 0; | |
for (Circle c : circles) { | |
// distance euclidienne |