All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Eegeo::Resources::Roads::Navigation::NavigationGraphRoad Class Reference
Inheritance diagram for Eegeo::Resources::Roads::Navigation::NavigationGraphRoad:
Eegeo::NonCopyable

Public Member Functions

 NavigationGraphRoad (const std::vector< Eegeo::v3 >::const_iterator verticesBegin, const std::vector< Eegeo::v3 >::const_iterator verticesEnd, const std::vector< u16 >::const_iterator connectionsToIndicesBegin, const std::vector< u16 >::const_iterator connectionsToIndicesEnd, const std::vector< u16 >::const_iterator connectionsFromIndicesBegin, const std::vector< u16 >::const_iterator connectionsFromIndicesEnd, float halfWidth, u8 averageSpeedInKph, RoadDirection direction, u8 roughSpeedLimitInKph, FunctionalRoadClass::Type roadClass=FunctionalRoadClass::NotApplicable)
 
const std::vector< Eegeo::v3 > & GetVertices () const
 
const std::vector< int > & GetConnectionsToIndices () const
 
const std::vector< int > & GetConnectionsFromIndices () const
 
float GetHalfWidth () const
 
u8 GetAverageSpeedInKph () const
 
RoadDirection GetRoadDirection () const
 
u8 GetRoughSpeedLimitInKph () const
 
int GetVertexCount () const
 
const FunctionalRoadClass::Type GetFunctionalRoadClass () const
 
bool IsConnectedAtStart (const NavigationGraphRoad &road, const NavigationGraph &navGraph) const
 
bool IsConnectedAtEnd (const NavigationGraphRoad &road, const NavigationGraph &navGraph) const
 
bool IsConnectedAtStart (const NavigationGraphRoad &road, const std::vector< NavigationGraphRoad * > &roads) const
 
bool IsConnectedAtEnd (const NavigationGraphRoad &road, const std::vector< NavigationGraphRoad * > &roads) const
 
bool AreConnectionsValid (const NavigationGraph &navGraph) const
 
void LinkAtStart (NavigationGraphLink *navGraphLink)
 
void LinkAtEnd (NavigationGraphLink *navGraphLink)
 
void Unlink (NavigationGraphLink *navGraphLink)
 
const bool HasConnectionToCell () const
 
const bool HasConnectionFromCell () const
 
NavigationGraphLinkGetConnectionToCell () const
 
NavigationGraphLinkGetConnectionFromCell () const
 
const bool HasConnectionTo ()
 
const bool HasConnectionFrom ()
 
const bool IsActualDeadEnd (bool forwardsDirection)
 
bool IsBoundaryVertexOrDeadEnd (int vertexIndex) const
 
void DisableRoad ()
 
void EnableRoad ()
 
void DisableVertex (int index)
 
void EnableVertex (int index)
 
bool IsVertexEnabled (int index) const
 
bool HasDisabledVertices () const
 

Additional Inherited Members

- Protected Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

The documentation for this class was generated from the following files: