MobilityDB 1.1
Functions

Cast functions for box types. More...

Collaboration diagram for Cast functions:

Functions

TBox * float_period_to_tbox (double d, const Span *p)
 Return a temporal box from a float and a period. More...
 
TBox * float_timestamp_to_tbox (double d, TimestampTz t)
 Return a temporal box from a float and a timestamp. More...
 
TBox * float_to_tbox (double d)
 Cast a float to a temporal box. More...
 
STBox * geo_period_to_stbox (const GSERIALIZED *gs, const Span *p)
 Return a spatiotemporal box from a geometry/geography and a period. More...
 
STBox * geo_timestamp_to_stbox (const GSERIALIZED *gs, TimestampTz t)
 Return a spatiotemporal box from a geometry/geography and a timestamp. More...
 
STBox * geo_to_stbox (const GSERIALIZED *gs)
 Cast a geometry/geography to a spatiotemporal box. More...
 
TBox * int_period_to_tbox (int i, const Span *p)
 Return a temporal box from an integer and a period. More...
 
TBox * int_timestamp_to_tbox (int i, TimestampTz t)
 Return a temporal box from an integer and a timestamp. More...
 
TBox * int_to_tbox (int i)
 Cast an integer to a temporal box. More...
 
TBox * number_period_to_tbox (Datum d, meosType basetype, const Span *p)
 Return a temporal box from an integer and a period. More...
 
TBox * number_timestamp_to_tbox (Datum d, meosType basetype, TimestampTz t)
 Return a temporal box from an integer and a timestamp. More...
 
TBox * numset_to_tbox (const Set *s)
 Cast a set to a temporal box. More...
 
TBox * numspan_to_tbox (const Span *s)
 Cast a span to a temporal box. More...
 
TBox * numspanset_to_tbox (const SpanSet *ss)
 Cast a span set to a temporal box. More...
 
STBox * period_to_stbox (const Span *p)
 Cast a period to a spatiotemporal box. More...
 
TBox * period_to_tbox (const Span *p)
 Cast a period to a temporal box. More...
 
STBox * periodset_to_stbox (const SpanSet *ps)
 Cast a period set to a spatiotemporal box. More...
 
TBox * periodset_to_tbox (const SpanSet *ps)
 Cast a period set to a temporal box. More...
 
TBox * span_period_to_tbox (const Span *span, const Span *p)
 Return a temporal box from a span and a period. More...
 
TBox * span_timestamp_to_tbox (const Span *span, TimestampTz t)
 Return a temporal box from a span and a timestamp. More...
 
GSERIALIZED * stbox_to_geo (const STBox *box)
 Cast a spatiotemporal box as a PostGIS geometry. More...
 
Span * stbox_to_period (const STBox *box)
 Cast a temporal box as a period. More...
 
Span * tbox_to_floatspan (const TBox *box)
 Cast a temporal box as a span. More...
 
Span * tbox_to_period (const TBox *box)
 Cast a temporal box as a period. More...
 
STBox * timestamp_to_stbox (TimestampTz t)
 Cast a timestamp to a spatiotemporal box. More...
 
TBox * timestamp_to_tbox (TimestampTz t)
 Cast a timestamp to a temporal box. More...
 
TBox * tnumber_to_tbox (const Temporal *temp)
 Return the bounding box of a temporal number. More...
 
STBox * tpoint_to_stbox (const Temporal *temp)
 Return the bounding box of a temporal point. More...
 
STBox * tstzset_to_stbox (const Set *ts)
 Cast a timestamp set to a spatiotemporal box. More...
 

Detailed Description

Cast functions for box types.