By definition, the design speed of a segment of road comes from taking into account the entire segment. If a segment contains sharp curves, for example, then the entire segment can be designed around that fact.