Internal train network structure

- Defines Network, StopArea, StopPoints and JourneySections
- Loads them from json using the build_from_json method
This commit is contained in:
Paul Breugnot 2026-01-03 14:34:00 +01:00
parent 27c5a55400
commit 61aec3d856
9 changed files with 1877 additions and 0 deletions

7
lib/trenesis/geojson.cpp Normal file
View file

@ -0,0 +1,7 @@
#include "geojson.h"
namespace trenesis {
Point::Point(double longitude, double latitude)
: longitude(longitude), latitude(latitude) {
}
}