PGROUTING
3.2
|
#include "c_common/points_input.h"
#include <stdbool.h>
#include <stddef.h>
#include "c_types/column_info_t.h"
#include "c_common/debug_macro.h"
#include "c_common/get_check_data.h"
Go to the source code of this file.
Functions | |
static void | fetch_point (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info[4], int64_t *default_pid, char default_side, Point_on_edge_t *point) |
void | pgr_get_points (char *points_sql, Point_on_edge_t **points, size_t *total_points) |
pgr_get_points More... | |
|
static |
Definition at line 41 of file points_input.c.
References column_found(), Point_on_edge_t::edge_id, Point_on_edge_t::fraction, pgr_SPI_getBigInt(), pgr_SPI_getChar(), pgr_SPI_getFloat8(), Point_on_edge_t::pid, and Point_on_edge_t::side.
Referenced by pgr_get_points().
void pgr_get_points | ( | char * | points_sql, |
Point_on_edge_t ** | points, | ||
size_t * | total_points | ||
) |
pgr_get_points
For queries of the type:
[in] | points_sql | |
[out] | points | |
[out] | total_points |
Definition at line 69 of file points_input.c.
References ANY_INTEGER, ANY_NUMERICAL, CHAR1, Column_info_t::colNumber, Column_info_t::eType, fetch_point(), Column_info_t::name, PGR_DBG, pgr_fetch_column_info(), pgr_SPI_cursor_open(), pgr_SPI_prepare(), Column_info_t::strict, and Column_info_t::type.
Referenced by process().