OSMServer/OSMDatastructure/OSMEdge.cs

22 lines
518 B
C#
Raw Normal View History

namespace OSMDatastructure.Graph;
2023-02-06 17:32:55 +01:00
[Serializable]
2023-02-06 17:32:55 +01:00
public class OsmEdge
{
public ulong wayId { get; }
public ulong neighborId { get; }
public ulong neighborRegion { get; }
2023-02-06 17:32:55 +01:00
2023-02-07 23:52:57 +01:00
public OsmEdge(ulong wayID, ulong neighborID, ulong neighborRegion)
2023-02-06 17:32:55 +01:00
{
this.wayId = wayID;
this.neighborId = neighborID;
this.neighborRegion = neighborRegion;
}
public override string ToString()
{
return $"EDGE WayID: {wayId} NeighborID: {neighborId} {neighborRegion}";
}
2023-02-06 17:32:55 +01:00
}