MobilityDB
1.0
|
Basic functions for temporal network points. More...
#include "npoint/tnpoint.h"
#include <assert.h>
#include "general/temporaltypes.h"
#include "general/temporal_parser.h"
#include "general/tempcache.h"
#include "general/temporal_util.h"
#include "general/lifting.h"
#include "point/tpoint_spatialfuncs.h"
#include "npoint/tnpoint_static.h"
#include "npoint/tnpoint_parser.h"
Functions | |
PGDLLEXPORT Datum | tnpoint_in (PG_FUNCTION_ARGS) |
Input function for temporal network points. More... | |
TInstant * | tnpointinst_as_tgeompointinst (const TInstant *inst) |
Cast a temporal network point as a temporal geometric point. More... | |
TInstantSet * | tnpointinstset_as_tgeompointi (const TInstantSet *ti) |
Cast a temporal network point as a temporal geometric point. More... | |
TSequence * | tnpointseq_as_tgeompointseq (const TSequence *seq) |
Cast a temporal network point as a temporal geometric point. More... | |
TSequenceSet * | tnpointseqset_as_tgeompointseqset (const TSequenceSet *ts) |
Cast a temporal network point as a temporal geometric point. More... | |
Temporal * | tnpoint_as_tgeompoint_internal (const Temporal *temp) |
Cast a temporal network point as a temporal geometric point (dispatch function) More... | |
PGDLLEXPORT Datum | tnpoint_as_tgeompoint (PG_FUNCTION_ARGS) |
Cast a temporal network point as a temporal geometric point. More... | |
TInstant * | tgeompointinst_as_tnpointinst (const TInstant *inst) |
Cast a temporal geometric point as a temporal network point. More... | |
TInstantSet * | tgeompointinstset_as_tnpointinstset (const TInstantSet *ti) |
Cast a temporal geometric point as a temporal network point. More... | |
TSequence * | tgeompointseq_as_tnpointseq (const TSequence *seq) |
Cast a temporal geometric point as a temporal network point. More... | |
TSequenceSet * | tgeompointseqset_as_tnpointseqset (const TSequenceSet *ts) |
Cast a temporal geometric point as a temporal network point. More... | |
Temporal * | tgeompoint_as_tnpoint_internal (Temporal *temp) |
Cast a temporal geometric point as a temporal network point (dispatch function) More... | |
PGDLLEXPORT Datum | tgeompoint_as_tnpoint (PG_FUNCTION_ARGS) |
Cast a temporal geometric point as a temporal network point. More... | |
PGDLLEXPORT Datum | tnpoint_set_precision (PG_FUNCTION_ARGS) |
Set the precision of the fraction of the temporal network point to the number of decimal places. More... | |
int64 | tnpointinst_route (const TInstant *inst) |
Return the route of the temporal network point. More... | |
int64 | tnpointiseq_route (const TSequence *seq) |
Return the route of the temporal network point. More... | |
nsegment ** | tnpointinst_positions (const TInstant *inst) |
Return the network segments covered by the temporal network point. More... | |
nsegment ** | tnpointinstset_positions (const TInstantSet *ti, int *count) |
Return the network segments covered by the temporal network point. More... | |
nsegment ** | tnpointseq_step_positions (const TSequence *seq, int *count) |
Return the network segments covered by the temporal network point. More... | |
nsegment * | tnpointseq_linear_positions (const TSequence *seq) |
Return the network segments covered by the temporal network point. More... | |
nsegment ** | tnpointseq_positions (const TSequence *seq, int *count) |
Return the network segments covered by the temporal network point. More... | |
nsegment ** | tnpointseqset_linear_positions (const TSequenceSet *ts, int *count) |
Return the network segments covered by the temporal network point. More... | |
nsegment ** | tnpointseqset_step_positions (const TSequenceSet *ts, int *count) |
Return the network segments covered by the temporal network point. More... | |
nsegment ** | tnpointseqset_positions (const TSequenceSet *ts, int *count) |
Return the network segments covered by the temporal network point. More... | |
nsegment ** | tnpoint_positions_internal (const Temporal *temp, int *count) |
Return the network segments covered by the temporal network point (dispatch function) More... | |
PGDLLEXPORT Datum | tnpoint_positions (PG_FUNCTION_ARGS) |
Return the network segments covered by the temporal network point. More... | |
PGDLLEXPORT Datum | tnpoint_route (PG_FUNCTION_ARGS) |
Return the route of a temporal network point. More... | |
ArrayType * | tnpointinst_routes (const TInstant *inst) |
Return the array of routes of a temporal network point. More... | |
ArrayType * | tnpointinstset_routes (const TInstantSet *ti) |
Return the array of routes of a temporal network point. More... | |
ArrayType * | tnpointseq_routes (const TSequence *seq) |
Return the array of routes of a temporal network point. More... | |
ArrayType * | tnpointseqset_routes (const TSequenceSet *ts) |
Return the array of routes of a temporal network point. More... | |
PGDLLEXPORT Datum | tnpoint_routes (PG_FUNCTION_ARGS) |
Return the array of routes of a temporal network point. More... | |
Basic functions for temporal network points.