double TaskLeg::ScanDistanceScored(const GeoPoint &ref) const { return GetScoredDistance(ref) + (GetNext() ? GetNext()->ScanDistanceScored(ref) : 0); }
fixed TaskLeg::ScanDistanceScored(const GeoPoint &ref) const { return GetScoredDistance(ref) + (GetNext() ? GetNext()->ScanDistanceScored(ref) : fixed_zero); }