pgRouting
pgRouting extends the PostGIS / PostgreSQL geospatial database to provide geospatial routing functionality.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pgr_withPoints.cpp File Reference
#include <sstream>
#include <deque>
#include <set>
#include <vector>
#include <algorithm>
#include <cassert>
#include "./pgr_withPoints.hpp"
#include "./msg_logger.hpp"
#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)
 

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
void adjust_pids ( const std::vector< Point_on_edge_t > &  points,
Path path 
)

Definition at line 182 of file pgr_withPoints.cpp.

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

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)