centroid

fun centroid(index: Int): Point?