segment

public final Pair<PathSegment, Double> segment(Double s)

Returns a pair containing the PathSegment at s inches along the path and the length along that segment.