MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
meos_rgeo.h File Reference
#include <stdbool.h>
#include <postgres.h>
#include <meos.h>
#include <meos_pose.h>
#include <meos_internal.h>
#include "geo/stbox.h"

Go to the source code of this file.

Macros

#define VALIDATE_TRGEOMETRY(temp, ret)
 External API of the Mobility Engine Open Source (MEOS) library. More...
 

Functions

int always_eq_geo_trgeo (const GSERIALIZED *gs, const Temporal *temp)
 Return true if a geometry is always equal to a temporal rigid geometry. More...
 
int always_eq_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return true if a temporal rigid geometry is always equal to a geometry. More...
 
int always_eq_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 Return true if two temporal rigid geometries are always equal. More...
 
int always_ne_geo_trgeo (const GSERIALIZED *gs, const Temporal *temp)
 Return true if a geometry is always different from a temporal rigid geometry. More...
 
int always_ne_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return true if a temporal rigid geometry is always different from a geometry. More...
 
int always_ne_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 Return true if two temporal rigid geometries are always different. More...
 
Temporaldistance_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return the temporal distance between a temporal rigid geometry and a geometry/geography point. More...
 
Temporaldistance_trgeo_tpoint (const Temporal *temp1, const Temporal *temp2)
 
Temporaldistance_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 
int ever_eq_geo_trgeo (const GSERIALIZED *gs, const Temporal *temp)
 Return true if a geometry is ever equal to a temporal rigid geometry. More...
 
int ever_eq_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return true if a temporal rigid geometry is ever equal to a rigid geometry. More...
 
int ever_eq_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 Return true if two temporal rigid geometries are ever equal. More...
 
int ever_ne_geo_trgeo (const GSERIALIZED *gs, const Temporal *temp)
 Return true if a geometry is ever different from a temporal rigid geometry. More...
 
int ever_ne_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return true if a temporal rigid geometry is ever different from a geometry. More...
 
int ever_ne_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 Return true if two temporal rigid geometries are ever different. More...
 
Temporalgeo_tpose_to_trgeo (const GSERIALIZED *gs, const Temporal *temp)
 Construct a temporal rigid geometry from a geometry and a temporal pose. More...
 
double nad_stbox_trgeo (const STBox *box, const Temporal *temp)
 
double nad_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return the nearest approach distance between a temporal rigid geometry and a geometry. More...
 
double nad_trgeo_stbox (const Temporal *temp, const STBox *box)
 Return the nearest approach distance between a temporal rigid geometry and a spatiotemporal box. More...
 
double nad_trgeo_tpoint (const Temporal *temp1, const Temporal *temp2)
 Return the nearest approach distance between two temporal rigid geometries. More...
 
double nad_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 Return the nearest approach distance between two temporal rigid geometries. More...
 
TInstantnai_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return the nearest approach instant between a temporal rigid geometry and a geometry @sqlfn nearestApproachInstant() More...
 
TInstantnai_trgeo_tpoint (const Temporal *temp1, const Temporal *temp2)
 Return the nearest approach instant between a temporal rigid geometry and a temporal point @sqlfn nearestApproachInstant() More...
 
TInstantnai_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 Return the nearest approach instant between two temporal rigid geometries @sqlfn nearestApproachInstant() More...
 
GSERIALIZEDshortestline_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return the line connecting the nearest approach point between a temporal rigid geometry and a geometry @sqlfn shortestLine() More...
 
GSERIALIZEDshortestline_trgeo_tpoint (const Temporal *temp1, const Temporal *temp2)
 Return the line connecting the nearest approach point between a temporal rigid geometry and a temporal geometry point @sqlfn shortestLine() More...
 
GSERIALIZEDshortestline_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 Return the line connecting the nearest approach point between two temporal rigid geometries @sqlfn shortestLine() More...
 
Temporalteq_geo_trgeo (const GSERIALIZED *gs, const Temporal *temp)
 Return the temporal equality of a geometry and a temporal rigid geometry. More...
 
Temporalteq_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return the temporal equality of a temporal rigid geometry and a geometry. More...
 
Temporaltne_geo_trgeo (const GSERIALIZED *gs, const Temporal *temp)
 Return the temporal inequality of a geometry and a temporal rigid geometry. More...
 
Temporaltne_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Return the temporal inequality of a temporal rigid geometry and a geometry. More...
 
Temporaltrgeo_append_tinstant (Temporal *temp, const TInstant *inst, interpType interp, double maxdist, const Interval *maxt, bool expand)
 Append an instant to a temporal value. More...
 
Temporaltrgeo_append_tsequence (Temporal *temp, const TSequence *seq, bool expand)
 Append a sequence to a temporal value. More...
 
Temporaltrgeo_delete_timestamptz (const Temporal *temp, TimestampTz t, bool connect)
 Return the value of a temporal rigid geometry at a timestamptz @csqlfn Temporal_delete_timestamptz. More...
 
Temporaltrgeo_delete_tstzset (const Temporal *temp, const Set *s, bool connect)
 Delete a timestamp set from a temporal rigid geometry connecting the instants before and after the given timestamp, if any. More...
 
Temporaltrgeo_delete_tstzspan (const Temporal *temp, const Span *s, bool connect)
 Delete a timestamptz span from a temporal rigid geometry. More...
 
Temporaltrgeo_delete_tstzspanset (const Temporal *temp, const SpanSet *ss, bool connect)
 Delete a timestamptz span set from a temporal rigid geometry. More...
 
TInstanttrgeo_end_instant (const Temporal *temp)
 Return a copy of the end instant of a temporal rigid geometry. More...
 
TSequencetrgeo_end_sequence (const Temporal *temp)
 Return a copy of the end sequence of a temporal sequence (set) More...
 
GSERIALIZEDtrgeo_end_value (const Temporal *temp)
 Return a copy of the end base value of a temporal rigid geometry. More...
 
GSERIALIZEDtrgeo_geom (const Temporal *temp)
 Return a copy of the reference geometry of a temporal rigid geometry. More...
 
TInstanttrgeo_instant_n (const Temporal *temp, int n)
 Return a copy of the n-th instant of a temporal rigid geometry. More...
 
TInstant ** trgeo_instants (const Temporal *temp, int *count)
 Return a copy of the distinct instants of a temporal rigid geometry. More...
 
char * trgeo_out (const Temporal *temp)
 Return the Well-Known Text (WKT) representation of a temporal rigid geometry. More...
 
Settrgeo_points (const Temporal *temp)
 
Temporaltrgeo_restrict_timestamptz (const Temporal *temp, TimestampTz t, bool atfunc)
 Restrict a temporal rigid geometry to (the complement of) a timestamptz. More...
 
Temporaltrgeo_restrict_tstzset (const Temporal *temp, const Set *s, bool atfunc)
 Restrict a temporal rigid geometry to (the complement of) a timestamptz set. More...
 
Temporaltrgeo_restrict_tstzspan (const Temporal *temp, const Span *s, bool atfunc)
 Restrict a temporal rigid geometry to (the complement of) a timestamptz span. More...
 
Temporaltrgeo_restrict_tstzspanset (const Temporal *temp, const SpanSet *ss, bool atfunc)
 Restrict a temporal rigid geometry to (the complement of) a timestamptz span set. More...
 
Temporaltrgeo_restrict_value (const Temporal *temp, Datum value, bool atfunc)
 Restrict a temporal rigid geometry to (the complement of) a geometry. More...
 
Temporaltrgeo_restrict_values (const Temporal *temp, const Set *s, bool atfunc)
 Restrict a temporal rigid geometry to (the complement of) a set of geometries. More...
 
Temporaltrgeo_rotation (const Temporal *temp)
 
Temporaltrgeo_round (const Temporal *temp, int maxdd)
 Return a temporal rigid geometry rounded to a given number of decimal places. More...
 
TSequence ** trgeo_segments (const Temporal *temp, int *count)
 
TSequencetrgeo_sequence_n (const Temporal *temp, int i)
 Return a copy of the n-th sequence of a temporal sequence (set) More...
 
TSequence ** trgeo_sequences (const Temporal *temp, int *count)
 Return an array of copies of the sequences of a temporal sequence (set) More...
 
Temporaltrgeo_set_interp (const Temporal *temp, interpType interp)
 Restrict a temporal rigid geometry transformed to an interpolation. More...
 
TInstanttrgeo_start_instant (const Temporal *temp)
 Return a copy of the start instant of a temporal rigid geometry. More...
 
TSequencetrgeo_start_sequence (const Temporal *temp)
 Return a copy of the start sequence of a temporal sequence (set) More...
 
GSERIALIZEDtrgeo_start_value (const Temporal *temp)
 Return a copy of the start value of a temporal rigid geometry. More...
 
TInstanttrgeo_to_tinstant (const Temporal *temp)
 Return a temporal rigid geometry transformed to a temporal instant. More...
 
Temporaltrgeo_to_tpoint (const Temporal *temp)
 Return a temporal point obtained from the points of the temporal pose of a temporal rigid geometry. More...
 
Temporaltrgeo_to_tpose (const Temporal *temp)
 Return a temporal pose obtained by removing the reference geometry of a temporal rigid geometry. More...
 
GSERIALIZEDtrgeo_traversed_area (const Temporal *temp)
 
bool trgeo_value_n (const Temporal *temp, int n, GSERIALIZED **result)
 Return in the last argument a copy of the n-th value of a temporal value. More...
 
TInstanttrgeoinst_make (const GSERIALIZED *geom, const Pose *pose, TimestampTz t)
 Construct a temporal geometry instant value from the arguments. More...