-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synchronize Stripe
phase
#171
Comments
Each
Furthermore, permeability (or lack thereof) can be set on the whole stripe, or for specific GTU types. Each
This allows a rich tapestry for common stripe road markings. |
Class When a stripe is synchronized, other stripes in the same link might also be immediately synchronized. This happens when:
The period is based on the greatest common divisor, which is calculated using |
By synchronizing
Stripe
phase, i.e. making sure that a dashed stripe neatly continues on the next link, it is prevented that short links cause confusing disruptions in the dash pattern.In order to also synchronize the phase of adjacent stripes, the dash and gap lengths can be based on the link center line. The fractions along the link center line, would then be applied on the
Stripe
center line. This all needs to occur on flattened lines, as that is the information that the animation has.On some links stripes can be far from the link center line, considering the curvature. The option needs to be maintained that the dashes apply to the stripe center line. A utility can be used to adjust dashes on individual stripes, to at least synchronize the dash phase at the end of the link.
Another utility can set the offset such that phase is synchronized with a stripe on the previous link.
The text was updated successfully, but these errors were encountered: