MobilityDB 1.1
|
#include <postgres.h>
#include <utils/array.h>
#include <catalog/pg_type.h>
#include <lib/stringinfo.h>
#include "npoint/tnpoint.h"
Go to the source code of this file.
Functions | |
Datum | datum_npoint_round (Datum npoint, Datum size) |
Set the precision of the position of a network point to the number of decimal places. More... | |
ArrayType * | int64arr_to_array (const int64 *int64arr, int count) |
Network-based static point/segments. More... | |
Npoint * | npoint_round (const Npoint *np, Datum size) |
Set the precision of the position of a network point to the number of decimal places. More... | |
Set * | npointset_round (const Set *s, Datum prec) |
Set the precision of the coordinates to the number of decimal places. More... | |
Nsegment * | nsegment_recv (StringInfo buf) |
Receive function for network segments. More... | |
Nsegment * | nsegment_round (const Nsegment *ns, Datum size) |
Set the precision of the position of a network point to the number of decimal places. More... | |
bytea * | nsegment_send (const Nsegment *ns) |
Send function for network segments. More... | |
ArrayType * | nsegmentarr_to_array (Nsegment **nsegmentarr, int count) |