MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tcbuffer_boxops.c File Reference

Bounding box functions for temporal circular buffer. More...

#include "cbuffer/tcbuffer_boxops.h"
#include <meos.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "temporal/span.h"
#include "cbuffer/cbuffer.h"

Functions

bool cbuffer_timestamptz_set_stbox (const Cbuffer *cb, TimestampTz t, STBox *box)
 Return in the last argument a spatiotemporal box constructed from a circular buffer and a timestamptz. More...
 
STBoxcbuffer_timestamptz_to_stbox (const Cbuffer *cb, TimestampTz t)
 Return a spatiotemporal box constructed from a circular buffer and a timestamptz. More...
 
bool cbuffer_tstzspan_set_stbox (const Cbuffer *cb, const Span *s, STBox *box)
 Return in the last argument a spatiotemporal box constructed from a circular buffer and a timestamptz span. More...
 
STBoxcbuffer_tstzspan_to_stbox (const Cbuffer *cb, const Span *s)
 Return a spatiotemporal box constructed from a circular buffer and a timestamptz. More...
 
void tcbufferinst_set_stbox (const TInstant *inst, STBox *box)
 Return in the last argument the spatiotemporal box of a temporal circular buffer instant. More...
 
void tcbufferinstarr_set_stbox (const TInstant **instants, int count, STBox *box)
 Return in the last argument a spatiotemporal box constructed from an array of temporal circular buffer instants. More...
 
void tcbufferseq_expand_stbox (const TSequence *seq, const TInstant *inst)
 Expand the temporal box of a temporal circular buffer sequence with an instant. More...
 

Detailed Description

Bounding box functions for temporal circular buffer.

These functions are used for computing the bounding boxes upon creation of the temporal circular buffers.