34#ifndef __TNPOINT_BOXOPS_H__
35#define __TNPOINT_BOXOPS_H__
40#include "general/temporal.h"
41#include "npoint/tnpoint.h"
61 bool (*func)(
const STBox *,
const STBox *),
bool invert);
63 bool (*func)(
const STBox *,
const STBox *),
bool spatial,
bool invert);
65 bool (*func)(
const STBox *,
const STBox *),
bool invert);
bool npoint_period_set_stbox(const Npoint *np, const Span *p, STBox *box)
Transform a network point and a period to a spatiotemporal box.
Definition: tnpoint_boxops.c:252
bool boxop_tnpoint_npoint(const Temporal *temp, const Npoint *np, bool(*func)(const STBox *, const STBox *), bool invert)
int boxop_tnpoint_stbox(const Temporal *temp, const STBox *box, bool(*func)(const STBox *, const STBox *), bool spatial, bool invert)
int boxop_tnpoint_geo(const Temporal *temp, const GSERIALIZED *geo, bool(*func)(const STBox *, const STBox *), bool invert)
void tnpointinstarr_set_stbox(const TInstant **inst, int count, interpType interp, STBox *box)
Set the spatiotemporal box from the array of temporal network point values.
Definition: tnpoint_boxops.c:172
void tnpointseq_expand_stbox(const TSequence *seq, TInstant *inst)
bool nsegment_set_stbox(const Nsegment *ns, STBox *box)
Return the bounding box of the network segment value.
Definition: tnpoint_boxops.c:227
void npointarr_set_stbox(const Datum *values, int count, STBox *box)
Set the spatiotemporal box from an array of network point values.
Definition: tnpoint_boxops.c:82
bool npoint_set_stbox(const Npoint *np, STBox *box)
Bounding box operators for temporal network points.
Definition: tnpoint_boxops.c:67
bool boxop_tnpoint_tnpoint(const Temporal *temp1, const Temporal *temp2, bool(*func)(const STBox *, const STBox *))
bool npoint_timestamp_set_stbox(const Npoint *np, TimestampTz t, STBox *box)
Transform a network point and a timestamp to a spatiotemporal box.
Definition: tnpoint_boxops.c:239
void tnpointinst_set_stbox(const TInstant *inst, STBox *box)
Set the spatiotemporal box from the network point value.
Definition: tnpoint_boxops.c:99
interpType
Enumeration that defines the interpolation types used in MobilityDB.
Definition: meos.h:124
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 spans (a.k.a.
Definition: meos.h:70
Structure to represent temporal values of instant subtype.
Definition: meos.h:148
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