17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-06 16:18:35 +01:00

feat(track): at a crossing at a wide angle every head of one track meets every head of the other in a mitre from the corner of their flangeways to the far corner of the heads, the way the corners of a cast diamond look, so the running rails and guard rails of both tracks form closed corners and only the flangeways stay open, instead of the rails of one track going through and the other ones glued to their sides; corner_cut gives the mitres, as bends of the running rails and as miters of the guard rails; the fit of a loft end to the profile of another rail and the field and gauge outlines of the rail profile are gone with the gluing

This commit is contained in:
maj00r
2026-10-14 11:08:02 +02:00
parent 4016c4ce04
commit f03c6b8ebc
6 changed files with 31 additions and 92 deletions

View File

@@ -72,7 +72,6 @@ struct rail_size {
double ledge { 0.0 };
double web { 0.0365 };
double neck { -0.0467 };
knots::line field, gauge;
};
// a check rail beside a rail, how far its ends turn away from the running rail
struct check_rail {
@@ -95,7 +94,6 @@ struct rail_cut {
glm::dvec2 startmiter { 0.0 };
double endbend { 0.0 };
double startbend { 0.0 };
knots::line endfit, startfit;
knots::line endinner, startinner;
bool endcap { true };
bool startcap { true };