|
MobilityDB 1.3
|
Basic functions for temporal network points. More...
#include "npoint/tnpoint.h"#include <assert.h>#include <limits.h>#include <meos.h>#include <meos_internal_geo.h>#include "temporal/set.h"#include "temporal/type_util.h"#include "geo/tgeo_spatialfuncs.h"#include "geo/tspatial_parser.h"Functions | |
| bool | common_rid_tnpoint_npoint (const Temporal *temp, const Npoint *np) |
| Return true if temporal network point and a network point have a common route identifier. More... | |
| bool | common_rid_tnpoint_npointset (const Temporal *temp, const Set *s) |
| Return true if temporal network point and a network point have a common route identifier. More... | |
| bool | ensure_same_rid_tnpointinst (const TInstant *inst1, const TInstant *inst2) |
| Ensure that two temporal network point instants have the same route identifier. More... | |
| bool | ensure_valid_tnpoint_geo (const Temporal *temp, const GSERIALIZED *gs) |
| Ensure the validity of a temporal network point and a geometry. More... | |
| bool | ensure_valid_tnpoint_npoint (const Temporal *temp, const Npoint *np) |
| Return true if a temporal network point and a network point are valid for operations. More... | |
| bool | ensure_valid_tnpoint_npointset (const Temporal *temp, const Set *s) |
| Return true if a temporal network point and a network point set are valid for operations. More... | |
| bool | ensure_valid_tnpoint_stbox (const Temporal *temp, const STBox *box) |
| Ensure the validity of a temporal network point and a spatiotemporal box. More... | |
| bool | ensure_valid_tnpoint_tnpoint (const Temporal *temp1, const Temporal *temp2) |
| Return true if a temporal network point and a network point are valid for operations. More... | |
| Set * | npointset_routes (const Set *s) |
| Return the routes of a network point set. More... | |
| Temporal * | tgeompoint_to_tnpoint (const Temporal *temp) |
| Convert a temporal geometry point into a temporal network point. More... | |
| TInstant * | tgeompointinst_tnpointinst (const TInstant *inst) |
| Convert a temporal geometry point into a temporal network point. More... | |
| TSequence * | tgeompointseq_tnpointseq (const TSequence *seq) |
| Convert a temporal geometry point into a temporal network point. More... | |
| TSequenceSet * | tgeompointseqset_tnpointseqset (const TSequenceSet *ss) |
| Convert a temporal geometry point into a temporal network point. More... | |
| Temporal * | tnpoint_at_npoint (const Temporal *temp, const Npoint *np) |
| Restrict a temporal network point to a network point. More... | |
| Temporal * | tnpoint_at_npointset (const Temporal *temp, const Set *s) |
| Restrict a temporal network point to a set of network points. More... | |
| Temporal * | tnpoint_in (const char *str) |
| Return a temporal network point from its Well-Known Text (WKT) representation. More... | |
| Temporal * | tnpoint_minus_npoint (const Temporal *temp, const Npoint *np) |
| Restrict a temporal network point to the complement of a network point. More... | |
| Temporal * | tnpoint_minus_npointset (const Temporal *temp, const Set *s) |
| Restrict a temporal network point to the complement of a set of network points. More... | |
| char * | tnpoint_out (const Temporal *temp, int maxdd) |
| Return the Well-Known Text (WKT) representation of a temporal network point. More... | |
| Nsegment ** | tnpoint_positions (const Temporal *temp, int *count) |
| Return the network segments covered by the temporal network point @csqlfn Tnpoint_positions() More... | |
| Temporal * | tnpoint_restrict_npoint (const Temporal *temp, const Npoint *np, bool atfunc) |
| Restrict a temporal network point to (the complement of) a network point. More... | |
| Temporal * | tnpoint_restrict_npointset (const Temporal *temp, const Set *s, bool atfunc) |
| Restrict a temporal network point to (the complement of) a set of network points. More... | |
| int64 | tnpoint_route (const Temporal *temp) |
| Return the single route of a temporal network point. More... | |
| Set * | tnpoint_routes (const Temporal *temp) |
| Return the array of routes of a temporal network point @csqlfn Tnpoint_routes() More... | |
| Temporal * | tnpoint_to_tgeompoint (const Temporal *temp) |
| Convert a temporal network point into a temporal geometry point. More... | |
| TInstant * | tnpointinst_in (const char *str) |
| Return a temporal network point instant from its Well-Known Text (WKT) representation. More... | |
| TInstant * | tnpointinst_make (const Npoint *np, TimestampTz t) |
| Return a temporal network point instant from a network point and a timestamptz. More... | |
| Nsegment ** | tnpointinst_positions (const TInstant *inst) |
| Return the network segments covered by the temporal network point. More... | |
| int64 | tnpointinst_route (const TInstant *inst) |
| Return the route of the temporal network point. More... | |
| Set * | tnpointinst_routes (const TInstant *inst) |
| Return the routes of a temporal network point. More... | |
| TInstant * | tnpointinst_tgeompointinst (const TInstant *inst) |
| Convert a temporal network point into a temporal geometry point. More... | |
| int | tnpointsegm_intersection (Datum start1, Datum end1, Datum start2, Datum end2, TimestampTz lower, TimestampTz upper, TimestampTz *t1, TimestampTz *t2) |
| Return 1 or 2 if two temporal network point segments intersect during the period defined by the output timestamps, return 0 otherwise. More... | |
| Set * | tnpointseq_cont_routes (const TSequence *seq) |
| Return the routes of a temporal network point. More... | |
| Set * | tnpointseq_disc_routes (const TSequence *seq) |
| Return the routes of a temporal network point. More... | |
| TSequence * | tnpointseq_in (const char *str, interpType interp UNUSED) |
| Return a temporal network point sequence from its Well-Known Text (WKT) representation. More... | |
| Nsegment * | tnpointseq_linear_positions (const TSequence *seq) |
| Return the network segments covered by the temporal network point. More... | |
| Nsegment ** | tnpointseq_positions (const TSequence *seq, int *count) |
| Return the network segments covered by the temporal network point. More... | |
| Nsegment ** | tnpointseq_step_positions (const TSequence *seq, int *count) |
| Return the network segments covered by the temporal network point. More... | |
| TSequence * | tnpointseq_tgeompointseq_cont (const TSequence *seq) |
| Convert a temporal network point into a temporal geometry point. More... | |
| TSequence * | tnpointseq_tgeompointseq_disc (const TSequence *seq) |
| Convert a temporal network point into a temporal geometry point. More... | |
| TSequenceSet * | tnpointseqset_in (const char *str) |
| Return a temporal network point sequence set from its Well-Known Text (WKT) representation. More... | |
| Nsegment ** | tnpointseqset_linear_positions (const TSequenceSet *ss, int *count) |
| Return the network segments covered by the temporal network point. More... | |
| Nsegment ** | tnpointseqset_positions (const TSequenceSet *ss, int *count) |
| Return the network segments covered by the temporal network point. More... | |
| Set * | tnpointseqset_routes (const TSequenceSet *ss) |
| Return the routes of a temporal network point. More... | |
| Nsegment ** | tnpointseqset_step_positions (const TSequenceSet *ss, int *count) |
| Return the network segments covered by the temporal network point. More... | |
| TSequenceSet * | tnpointseqset_tgeompointseqset (const TSequenceSet *ss) |
| Convert a temporal network point into a temporal geometry point. More... | |
Basic functions for temporal network points.