MobilityDB 1.1
Functions
tnpoint_spatialfuncs.h File Reference
#include <postgres.h>
#include "general/temporal.h"
#include "npoint/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_rid_tnpointinst (const TInstant *inst1, const TInstant *inst2)
 Ensure that two temporal network point instants have the same route identifier. More...
 
void ensure_same_srid_tnpoint_stbox (const Temporal *temp, const STBox *box)
 Geospatial functions for temporal network points. More...
 
bool npoint_same (const Npoint *np1, const Npoint *np2)
 Determines the spatial equality for network points. More...
 
Temporaltnpoint_azimuth (const Temporal *temp)
 Temporal azimuth of a temporal network point. More...
 
Temporaltnpoint_cumulative_length (const Temporal *temp)
 Cumulative length traversed by a temporal network point. More...
 
GSERIALIZEDtnpoint_geom (const Temporal *temp)
 Return the geometry covered by a temporal network point. More...
 
double tnpoint_length (const Temporal *temp)
 Length traversed by a temporal network point. More...
 
Temporaltnpoint_restrict_geometry (const Temporal *temp, const GSERIALIZED *gs, bool atfunc)
 Restrict a temporal network point to (the complement of) a geometry. More...
 
Temporaltnpoint_speed (const Temporal *temp)
 Speed of a temporal network point. More...
 
int tnpoint_srid (const Temporal *temp)
 Return the SRID of a temporal network point. More...
 
Datum tnpoint_twcentroid (const Temporal *temp)
 Return the time-weighed centroid of a temporal network point. More...
 
GSERIALIZEDtnpointinst_geom (const TInstant *inst)
 Return the geometry covered by a temporal network point. More...
 
int tnpointinst_srid (const TInstant *inst)
 Return the SRID of a temporal network point of subtype instant. More...
 
bool tnpointsegm_intersection_value (const TInstant *inst1, const TInstant *inst2, Datum value, TimestampTz *t)
 Return true if a segment of a temporal network point value intersects a base value at the timestamp. More...
 
GSERIALIZEDtnpointseq_geom (const TSequence *seq)
 Return the geometry covered by a temporal network point. More...
 
GSERIALIZEDtnpointseqset_geom (const TSequenceSet *ts)
 Return the geometry covered by a temporal network point. More...