All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TransportNode.h
1 #pragma once
2 
3 #include "Transport.h"
4 #include "TransportNodeId.h"
5 #include "TransportDirectedEdgeId.h"
6 #include "VectorMath.h"
7 
8 #include <vector>
9 
10 namespace Eegeo
11 {
12  namespace Transport
13  {
15  {
16  public:
17  TransportNode();
18 
20  const TransportNodeId& id,
21  const Eegeo::dv3& point,
22  const std::vector<TransportDirectedEdgeId>& incidentDirectedEdges
23  );
24 
25  const TransportNodeId& GetId() const { return m_id; }
26  const dv3& GetPoint() const { return m_point; }
27  const std::vector<TransportDirectedEdgeId>& GetIncidentDirectedEdges() const { return m_incidentDirectedEdges; }
28 
29  private:
30  TransportNodeId m_id;
31  dv3 m_point;
32  std::vector<TransportDirectedEdgeId> m_incidentDirectedEdges;
33  };
34  }
35 }