✨ 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:
parent
27c5a55400
commit
61aec3d856
9 changed files with 1877 additions and 0 deletions
10
lib/trenesis/geojson.h
Normal file
10
lib/trenesis/geojson.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
namespace trenesis {
|
||||
struct Point {
|
||||
double longitude;
|
||||
double latitude;
|
||||
|
||||
Point(double longitude, double latitude);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue