Given a set of points in three-dimensional space, which are the most common ways of measuring if they are co-localized or not? E.g., a graph-based approach would be to build a graph using points as vertices, connecting them by edges if they are below a distance threshold and them applying a connected components algorithms to see if the result is a single component. Continuous measures instead of discrete ones are welcome as well.