MobilityDB  1.0
Functions
tnpoint_spatialfuncs.h File Reference
#include <postgres.h>
#include <catalog/pg_type.h>
#include "general/temporal.h"
#include "tnpoint_static.h"
Include dependency graph for tnpoint_spatialfuncs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ensure_same_srid_tnpoint_stbox (const Temporal *temp, const STBOX *box)
 Ensure that the temporal network point and the STBOX have the same SRID. More...
 
void ensure_same_rid_tnpointinst (const TInstant *inst1, const TInstant *inst2)
 Ensure that the temporal network point instants have the same route identifier. More...
 
bool tnpointseq_intersection_value (const TInstant *inst1, const TInstant *inst2, Datum value, TimestampTz *t)
 Returns true if the segment of the temporal network point value intersects the base value at the timestamp. More...
 
int tnpoint_srid_internal (const Temporal *temp)
 Returns the SRID of a temporal network point (dispatch function) More...
 
Datum tnpoint_trajectory (PG_FUNCTION_ARGS)
 Return the geometry covered by the temporal network point. More...
 
Datum tnpointseq_trajectory1 (const TInstant *inst1, const TInstant *inst2)
 Compute the trajectory of two instants. More...
 
Datum tnpointseq_trajectory (const TSequence *seq)
 
Datum tnpointseqset_trajectory (const TSequenceSet *ts)
 
Datum tnpointinst_geom (const TInstant *inst)
 Return the geometry covered by the temporal network point. More...
 
Datum tnpointinstset_geom (const TInstantSet *ti)
 Return the geometry covered by the temporal network point. More...
 
Datum tnpointseq_geom (const TSequence *seq)
 Return the geometry covered by the temporal network point. More...
 
Datum tnpointseqset_geom (const TSequenceSet *ts)
 Return the geometry covered by the temporal network point. More...
 
Datum tnpoint_geom (const Temporal *temp)
 Return the geometry covered by the temporal network point (dispatch function) More...
 
Datum tnpoint_length (PG_FUNCTION_ARGS)
 Length traversed by the temporal network point. More...
 
Datum tnpoint_cumulative_length (PG_FUNCTION_ARGS)
 Cumulative length traversed by the temporal npoint. More...
 
Datum tnpoint_speed (PG_FUNCTION_ARGS)
 Speed of the temporal network point. More...
 
Datum tnpoint_twcentroid (PG_FUNCTION_ARGS)
 Time-weighed centroid of the temporal network point. More...
 
Datum tnpoint_azimuth (PG_FUNCTION_ARGS)
 Temporal azimuth of the temporal network point. More...
 
Datum tnpoint_at_geometry (PG_FUNCTION_ARGS)
 Restricts the temporal point to the geometry. More...
 
Datum tnpoint_minus_geometry (PG_FUNCTION_ARGS)
 Restrict the temporal point to the complement of the geometry. More...