Adding one segment to either end of a polygonal route #
Route.prepend and Route.append each add exactly one real segment. Their contact
conditions distinguish the two parameter ends, including when the new route closes.
Adding a segment to an already closed route cannot preserve simplicity, and a new
degenerate segment is rejected.
These are original finite route constructions. No topological path replacement theorem or geometric drawing provider is assumed.
Add the segment from a to the old start. This adds exactly one segment.
Instances For
Add the segment from the old finish to b. This adds exactly one segment.
Instances For
The new initial segment has its full real affine parameter.
A simple route may be prepended with one nondegenerate segment if every contact is either the intended join or the two distinct parameter ends of the new closed route. The latter alternative is allowed only by actual geometric equality.
A simple route may be appended with one nondegenerate segment under the exact parameter-level join and possible new-loop closure contact alternatives.
Simplicity rejects a degenerate newly prepended segment.
A route that was already closed cannot be extended at its start while remaining simple: its two old end occurrences would become an interior contact.