mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 05:48:35 +01:00
feat(editor): the curves of the laying from the photo in the design of the lines: a vertex of two transition curves meeting at its radius, with no arc and no cant, kept in the scenery files; the bends of straights eased with them at a radius from 6000 down to 3000 m, or larger where they'd be too short for the speed, else with an arc of the norms as large as fits, the straights between two bends shared, the bends staying where they were clicked and a curve below the norms kept with its warnings; a stretch traced on the photo fitted with a straight, a curve with its radius and the length of its transitions, a compound one, or two curves with a straight between them, on a thread of its own while the cursor moves; the heights from point to point through all the points clicked. Unit tests of the design of the lines
This commit is contained in:
@@ -102,5 +102,8 @@ void follow(std::vector<segment_data> &Pieces, ends const &Ends, bed_query const
|
||||
// the same, though the line is fitted by the fitter: until it has it, the track gets the line it fitted last stretched over its
|
||||
// length, if it went on from the same end, or the heights from end to end
|
||||
void follow_meanwhile(std::vector<segment_data> &Pieces, ends const &Ends, bed_query const &Bed, grading const &Grading, fitter &Fitter);
|
||||
// from point to point: the points set square onto the pieces, an even grade between each two of them, the grade breaking only at
|
||||
// them; from the ends of the heights given, a grade given there led on into the first and the last stretch
|
||||
void follow_points(std::vector<segment_data> &Pieces, std::vector<glm::dvec3> const &Points, ends const &Ends);
|
||||
|
||||
} // namespace ground_follow
|
||||
|
||||
Reference in New Issue
Block a user