32 #ifndef __TNPOINT_BOXOPS_H__ 33 #define __TNPOINT_BOXOPS_H__ 36 #include <catalog/pg_type.h> void tnpointinstarr_step_to_stbox(STBOX *box, const TInstant **inst, int count)
Set the spatiotemporal box from the array of temporal network point values.
Definition: tnpoint_boxops.c:99
Structure to represent spatiotemporal boxes.
Definition: stbox.h:51
Datum adjacent_bbox_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal boxes of the temporal network point and the network point are adja...
Definition: tnpoint_boxops.c:732
Datum adjacent_bbox_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal boxes of the network point and the temporal network point are adja...
Definition: tnpoint_boxops.c:697
Datum same_bbox_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal boxes of the network point and the temporal network point are equa...
Definition: tnpoint_boxops.c:614
Datum contains_bbox_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal box of the temporal network point contain the one of the network p...
Definition: tnpoint_boxops.c:483
Basic functions for temporal types of any subtype.
Datum contains_bbox_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal box of the network point contains the one of the temporal network ...
Definition: tnpoint_boxops.c:448
bool npoint_to_stbox_internal(STBOX *box, const npoint *np)
Set the spatiotemporal box from the network point value.
Definition: tnpoint_boxops.c:67
Datum npoint_to_stbox(PG_FUNCTION_ARGS)
Returns the bounding box of the network point value.
Definition: tnpoint_boxops.c:171
Datum contained_bbox_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal box of the temporal network point is contained by the one of the n...
Definition: tnpoint_boxops.c:566
void tnpointseqarr_to_stbox(STBOX *box, const TSequence **seq, int count)
Set the spatiotemporal box from the array of temporal network point values.
Definition: tnpoint_boxops.c:156
Datum overlaps_bbox_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal boxes of the network point and the temporal network point overlap...
Definition: tnpoint_boxops.c:365
Datum npoint_period_to_stbox(PG_FUNCTION_ARGS)
Transform a network point and a period to a spatiotemporal box.
Definition: tnpoint_boxops.c:256
void tnpointinstarr_linear_to_stbox(STBOX *box, const TInstant **inst, int count)
Set the spatiotemporal box from the array of temporal network point values.
Definition: tnpoint_boxops.c:119
Functions for temporal network points.
void tnpointinstarr_disc_to_stbox(STBOX *box, const TInstant **inst, int count)
Datum overlaps_bbox_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal boxes of the temporal network point and the network point overlap...
Definition: tnpoint_boxops.c:400
void tnpointinst_make_stbox(STBOX *box, const TInstant *inst)
Set the spatiotemporal box from the network point value.
Definition: tnpoint_boxops.c:84
Datum contained_bbox_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal box of the network point is contained by the one of the temporal n...
Definition: tnpoint_boxops.c:531
Datum tnpoint_to_stbox(PG_FUNCTION_ARGS)
Transform a temporal network point to a spatiotemporal box.
Definition: tnpoint_boxops.c:272
Datum same_bbox_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the spatiotemporal boxes of the temporal network point and the network point are equa...
Definition: tnpoint_boxops.c:649
Datum npoint_timestamp_to_stbox(PG_FUNCTION_ARGS)
Transform a network point and a timestamp to a spatiotemporal box.
Definition: tnpoint_boxops.c:227
Structure to represent temporal values of sequence subtype.
Definition: temporal.h:279
Structure to represent temporal values of instant subtype.
Definition: temporal.h:253