2017-09-25 09:37:11 -04:00
|
|
|
#ifndef OSRM_EXTRACTOR_EDGE_BASED_NODE_HPP_
|
|
|
|
#define OSRM_EXTRACTOR_EDGE_BASED_NODE_HPP_
|
|
|
|
|
|
|
|
#include "util/typedefs.hpp"
|
|
|
|
|
|
|
|
namespace osrm
|
|
|
|
{
|
|
|
|
namespace extractor
|
|
|
|
{
|
|
|
|
|
|
|
|
struct EdgeBasedNode
|
|
|
|
{
|
|
|
|
GeometryID geometry_id;
|
|
|
|
ComponentID component_id;
|
2017-11-09 09:14:27 -05:00
|
|
|
AnnotationID annotation_id : 31;
|
|
|
|
bool segregated : 1;
|
2017-09-25 09:37:11 -04:00
|
|
|
};
|
|
|
|
|
2017-11-09 09:14:27 -05:00
|
|
|
static_assert(sizeof(EdgeBasedNode) == 3 * 4, "Should be 3 * sizeof(uint32_t)");
|
|
|
|
|
2017-09-25 09:37:11 -04:00
|
|
|
} // namespace extractor
|
|
|
|
} // namespace osrm
|
|
|
|
|
|
|
|
#endif // OSRM_EXTRACTOR_EDGE_BASED_NODE_HPP_
|