mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-13 08:20:59 +01:00
fix(track): the ends of joined paths meet, in place and in cant
Ends less than 20 cm apart meet in the middle with a common vector across, which closes the cracks from coordinates that don't match in the data, on tracks with no unevenness as well. At such a joint a switch takes the cant of the plain track, and alike ones meet halfway: the slips on Baltyk had steps of 0.2 degrees. The physics goes by the same cant.
This commit is contained in:
@@ -353,6 +353,8 @@ public:
|
||||
track_uneven::amounts uneven_at( double const Distance ) const;
|
||||
// how much of the displacement a point of the profile at the depth takes
|
||||
double uneven_bed_share( double const Depth ) const;
|
||||
// closes the gaps and steps of cant between the ends of joined paths
|
||||
void share_joints();
|
||||
double joint_depth() const; // mm
|
||||
double joint_dip( double const Distance ) const; // m
|
||||
// distance from the rail joint behind; negative: the track has no joints that dip
|
||||
|
||||
Reference in New Issue
Block a user