34#ifndef __TNPOINT_SPATIALFUNCS_H__
35#define __TNPOINT_SPATIALFUNCS_H__
40#include "general/temporal.h"
41#include "npoint/tnpoint_static.h"
int64 TimestampTz
Definition: pg_ext_defs.in.h:19
uintptr_t Datum
Definition: pg_ext_defs.in.h:4
Definition: postgis_ext_defs.in.h:139
Functions for temporal network points.
Definition: tnpoint.h:50
Structure to represent spatiotemporal boxes.
Definition: meos.h:107
Structure to represent temporal values of instant subtype.
Definition: meos.h:148
Structure to represent temporal values of sequence set subtype.
Definition: meos.h:186
Structure to represent temporal values of instant set or sequence subtype.
Definition: meos.h:165
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:136
double tnpoint_length(const Temporal *temp)
Length traversed by a temporal network point.
Definition: tnpoint_spatialfuncs.c:399
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.
Definition: tnpoint_spatialfuncs.c:92
int tnpoint_srid(const Temporal *temp)
Return the SRID of a temporal network point.
Definition: tnpoint_spatialfuncs.c:146
Temporal * tnpoint_azimuth(const Temporal *temp)
Temporal azimuth of a temporal network point.
Definition: tnpoint_spatialfuncs.c:756
Datum tnpoint_twcentroid(const Temporal *temp)
Return the time-weighed centroid of a temporal network point.
Definition: tnpoint_spatialfuncs.c:589
int tnpointinst_srid(const TInstant *inst)
Return the SRID of a temporal network point of subtype instant.
Definition: tnpoint_spatialfuncs.c:133
void ensure_same_rid_tnpointinst(const TInstant *inst1, const TInstant *inst2)
Ensure that two temporal network point instants have the same route identifier.
Definition: tnpoint_spatialfuncs.c:72
GSERIALIZED * tnpoint_geom(const Temporal *temp)
Return the geometry covered by a temporal network point.
Definition: tnpoint_spatialfuncs.c:291
void ensure_same_srid_tnpoint_stbox(const Temporal *temp, const STBox *box)
Geospatial functions for temporal network points.
Definition: tnpoint_spatialfuncs.c:59
Temporal * tnpoint_speed(const Temporal *temp)
Speed of a temporal network point.
Definition: tnpoint_spatialfuncs.c:568
bool npoint_same(const Npoint *np1, const Npoint *np2)
Determines the spatial equality for network points.
Definition: tnpoint_spatialfuncs.c:340
Temporal * tnpoint_cumulative_length(const Temporal *temp)
Cumulative length traversed by a temporal network point.
Definition: tnpoint_spatialfuncs.c:478
Temporal * tnpoint_restrict_geometry(const Temporal *temp, const GSERIALIZED *gs, bool atfunc)
Restrict a temporal network point to (the complement of) a geometry.
Definition: tnpoint_spatialfuncs.c:777
GSERIALIZED * tnpointinst_geom(const TInstant *inst)
Return the geometry covered by a temporal network point.
Definition: tnpoint_spatialfuncs.c:220
GSERIALIZED * tnpointseq_geom(const TSequence *seq)
Return the geometry covered by a temporal network point.
Definition: tnpoint_spatialfuncs.c:232
GSERIALIZED * tnpointseqset_geom(const TSequenceSet *ts)
Return the geometry covered by a temporal network point.
Definition: tnpoint_spatialfuncs.c:262