PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pgr_withPoints.cpp File Reference
#include "./pgr_withPoints.hpp"
#include <sstream>
#include <deque>
#include <set>
#include <vector>
#include <string>
#include <algorithm>
#include <cassert>
#include "./../../common/src/pgr_assert.h"
#include "./../../common/src/pgr_types.h"

Go to the source code of this file.

Classes

struct  pointCompare
 

Functions

static void adjust_pids (const std::vector< Point_on_edge_t > &points, const int64_t &start_pid, const int64_t &end_pid, Path &path)
 
void adjust_pids (const std::vector< Point_on_edge_t > &points, Path &path)
 
int check_points (std::vector< Point_on_edge_t > &points, std::ostringstream &log)
 
bool create_new_edges (std::vector< Point_on_edge_t > &points, const std::vector< pgr_edge_t > &edges, char driving_side, std::vector< pgr_edge_t > &new_edges)
 
bool create_new_edges (std::vector< Point_on_edge_t > &points, const std::vector< pgr_edge_t > &edges, char driving_side, std::vector< pgr_edge_t > &new_edges, std::ostringstream &log)
 
void eliminate_details (Path &path, const std::vector< pgr_edge_t > &point_edges)
 
void eliminate_details_dd (Path &path)
 
static void PGR_LOG_POINTS (std::ostringstream &log, const std::vector< Point_on_edge_t > &points, const std::string &title)
 

Function Documentation

static void adjust_pids ( const std::vector< Point_on_edge_t > &  points,
const int64_t &  start_pid,
const int64_t &  end_pid,
Path path 
)
static

Definition at line 173 of file pgr_withPoints.cpp.

References Path::empty(), Path::end_id(), and Path::start_id().

Referenced by adjust_pids().

void adjust_pids ( const std::vector< Point_on_edge_t > &  points,
Path path 
)

Definition at line 193 of file pgr_withPoints.cpp.

References adjust_pids(), Path::empty(), Path::end_id(), and Path::start_id().

int check_points ( std::vector< Point_on_edge_t > &  points,
std::ostringstream &  log 
)
bool create_new_edges ( std::vector< Point_on_edge_t > &  points,
const std::vector< pgr_edge_t > &  edges,
char  driving_side,
std::vector< pgr_edge_t > &  new_edges 
)
bool create_new_edges ( std::vector< Point_on_edge_t > &  points,
const std::vector< pgr_edge_t > &  edges,
char  driving_side,
std::vector< pgr_edge_t > &  new_edges,
std::ostringstream &  log 
)
void eliminate_details ( Path path,
const std::vector< pgr_edge_t > &  point_edges 
)
void eliminate_details_dd ( Path path)
static void PGR_LOG_POINTS ( std::ostringstream &  log,
const std::vector< Point_on_edge_t > &  points,
const std::string &  title 
)
static

Definition at line 46 of file pgr_withPoints.cpp.

Referenced by check_points().