MobilityDB 1.3
Loading...
Searching...
No Matches
Functions

Conversion functions for box types. More...

Functions

bool cbuffer_set_stbox (const Cbuffer *cb, STBox *box)
 Return in the last argument the spatiotemporal box of a circular buffer. More...
 
void cbufferarr_set_stbox (const Datum *values, int count, STBox *box)
 Return in the last argument a spatiotemporal box contructed from an array of circular buffers. More...
 
void float_set_tbox (double d, TBox *box)
 Return in the last argument a temporal box constructed from a float. More...
 
void gbox_set_stbox (const GBOX *box, int32_t srid, STBox *result)
 Set the a spatiotemporal box in the last argument from the GBOX and the SRID. More...
 
bool geo_set_stbox (const GSERIALIZED *gs, STBox *box)
 Return in the last argument the spatiotemporal box of a geometry/geography. More...
 
void geoarr_set_stbox (const Datum *values, int count, STBox *box)
 Return in the last argument a spatiotemporal box constructed from an array of geometries/geographies. More...
 
void int_set_tbox (int i, TBox *box)
 Return in the last argument a temporal box constructed from an integer. More...
 
void number_set_tbox (Datum value, meosType basetype, TBox *box)
 Return in the last argument a temporal box constructed from a number. More...
 
TBoxnumber_tbox (Datum value, meosType basetype)
 Convert a number into a temporal box. More...
 
void numset_set_tbox (const Set *s, TBox *box)
 Return in the last argument a temporal box constructed from a number set. More...
 
void numspan_set_tbox (const Span *s, TBox *box)
 Return in the last argument a temporal box constructed from a number span. More...
 
TBoxset_tbox (const Set *s)
 Convert a number or a timestamptz set into a temporal box. More...
 
TBoxspan_tbox (const Span *s)
 Convert a number span into a temporal box. More...
 
bool spatial_set_stbox (Datum d, meosType basetype, STBox *box)
 Return in the last argument a spatiotemporal box constructed from a spatial base value. More...
 
void spatialset_set_stbox (const Set *s, STBox *box)
 Return in the last argument the bounding box of a spatial set. More...
 
void stbox_set_box3d (const STBox *box, BOX3D *box3d)
 Return in the last argument a BOX3D constructed from a spatiotemporal box. More...
 
void stbox_set_gbox (const STBox *box, GBOX *gbox)
 Return in the last argument a GBOX constructed from a spatiotemporal box. More...
 
Spantbox_floatspan (const TBox *box)
 Convert a temporal box into a float span. More...
 
Spantbox_intspan (const TBox *box)
 Convert a temporal box into an integer span. More...
 
Spantbox_tstzspan (const TBox *box)
 Convert a temporal box into a timestamptz span. More...
 
void timestamptz_set_stbox (TimestampTz t, STBox *box)
 Return in the last argument a spatiotemporal box constructed from a timestamptz. More...
 
void timestamptz_set_tbox (TimestampTz t, TBox *box)
 Return in the last argument a temporal box constructed from a timestamptz. More...
 
void tstzset_set_stbox (const Set *s, STBox *box)
 Return in the last argument a spatiotemporal box constructed from a timestamptz set. More...
 
void tstzset_set_tbox (const Set *s, TBox *box)
 Return in the last argument a temporal box constructed from a timestamptz set. More...
 
void tstzspan_set_stbox (const Span *s, STBox *box)
 Return in the last argument a spatiotemporal box constructed from a timestamptz span. More...
 
void tstzspan_set_tbox (const Span *s, TBox *box)
 Return in the last argument a temporal box constructed from a timestamptz span. More...
 
void tstzspanset_set_stbox (const SpanSet *ss, STBox *box)
 Return in the last argument a spatiotemporal box constructed from a timestamptz span set. More...
 

Detailed Description

Conversion functions for box types.