mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-30 21:20:28 +01:00
feat(editor): digitizing reads more of the old tracks: curves of the same hand meeting through their transitions with no straight between are separate vertices, a run turning over 150 degrees is split into vertices at track joints, a curve made of two transitions with no arc is read with the radius at their joint; digitizing tries both transition shapes, then without the minimum arc length when a short curve would lose its transitions; the reason names the track left by how much at any distance
This commit is contained in:
@@ -173,6 +173,7 @@ double speed_limit(double const Radius, limits const &Limits);
|
||||
result compute_recommended(design &Design, bool const Transitions);
|
||||
bool tangent_intersection(design const &Design, glm::dvec2 &Point);
|
||||
bool collinear(design const &Design);
|
||||
bool spiral_tangents(transition_shape const Shape, double const TurnIn, double const TurnOut, double &TangentIn, double &TangentOut);
|
||||
|
||||
struct station
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user