getDistanceBetween

fun PathGeometry.getDistanceBetween(startIndex: Int, endIndex: Int): Distance