TPolylineApproximator::GetStartEndIndex