32 #ifndef __TNPOINT_SPATIALFUNCS_H__ 33 #define __TNPOINT_SPATIALFUNCS_H__ 36 #include <catalog/pg_type.h> 53 const TInstant *inst2, Datum value, TimestampTz *t);
Datum tnpointseq_trajectory(const TSequence *seq)
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: temporal.h:241
Structure to represent spatiotemporal boxes.
Definition: stbox.h:51
Datum tnpointinstset_geom(const TInstantSet *ti)
Return the geometry covered by the temporal network point.
Definition: tnpoint_spatialfuncs.c:273
Datum tnpointseq_geom(const TSequence *seq)
Return the geometry covered by the temporal network point.
Definition: tnpoint_spatialfuncs.c:293
Datum tnpoint_trajectory(PG_FUNCTION_ARGS)
Return the geometry covered by the temporal network point.
Definition: tnpoint_spatialfuncs.c:408
Basic functions for temporal types of any subtype.
Datum tnpointseqset_geom(const TSequenceSet *ts)
Return the geometry covered by the temporal network point.
Definition: tnpoint_spatialfuncs.c:323
Datum tnpoint_geom(const Temporal *temp)
Return the geometry covered by the temporal network point (dispatch function)
Definition: tnpoint_spatialfuncs.c:353
Structure to represent temporal values of sequence set subtype.
Definition: temporal.h:293
int tnpoint_srid_internal(const Temporal *temp)
Returns the SRID of a temporal network point (dispatch function)
Definition: tnpoint_spatialfuncs.c:150
void ensure_same_rid_tnpointinst(const TInstant *inst1, const TInstant *inst2)
Ensure that the temporal network point instants have the same route identifier.
Definition: tnpoint_spatialfuncs.c:74
Structure to represent temporal values of instant set subtype.
Definition: temporal.h:266
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.
Definition: tnpoint_spatialfuncs.c:62
Datum tnpoint_at_geometry(PG_FUNCTION_ARGS)
Restricts the temporal point to the geometry.
Definition: tnpoint_spatialfuncs.c:1013
Datum tnpoint_cumulative_length(PG_FUNCTION_ARGS)
Cumulative length traversed by the temporal npoint.
Definition: tnpoint_spatialfuncs.c:632
Datum tnpointinst_geom(const TInstant *inst)
Return the geometry covered by the temporal network point.
Definition: tnpoint_spatialfuncs.c:261
Datum tnpoint_length(PG_FUNCTION_ARGS)
Length traversed by the temporal network point.
Definition: tnpoint_spatialfuncs.c:498
Datum tnpointseq_trajectory1(const TInstant *inst1, const TInstant *inst2)
Compute the trajectory of two instants.
Definition: tnpoint_spatialfuncs.c:374
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 time...
Definition: tnpoint_spatialfuncs.c:95
Datum tnpoint_twcentroid(PG_FUNCTION_ARGS)
Time-weighed centroid of the temporal network point.
Definition: tnpoint_spatialfuncs.c:760
Datum tnpointseqset_trajectory(const TSequenceSet *ts)
Datum tnpoint_azimuth(PG_FUNCTION_ARGS)
Temporal azimuth of the temporal network point.
Definition: tnpoint_spatialfuncs.c:944
Datum tnpoint_minus_geometry(PG_FUNCTION_ARGS)
Restrict the temporal point to the complement of the geometry.
Definition: tnpoint_spatialfuncs.c:1023
Datum tnpoint_speed(PG_FUNCTION_ARGS)
Speed of the temporal network point.
Definition: tnpoint_spatialfuncs.c:732
Network-based static point/segments.
Structure to represent temporal values of sequence subtype.
Definition: temporal.h:279
Structure to represent temporal values of instant subtype.
Definition: temporal.h:253