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

Static circular buffer type. More...

#include <postgres.h>
#include <libpq/pqformat.h>
#include <liblwgeom.h>
#include <meos.h>
#include <meos_internal.h>
#include <meos_cbuffer.h>
#include "temporal/temporal.h"
#include "temporal/tnumber_mathfuncs.h"
#include "temporal/set.h"
#include "temporal/span.h"
#include "temporal/type_inout.h"
#include "temporal/type_util.h"
#include "geo/stbox.h"
#include "cbuffer/cbuffer.h"
#include "pg_temporal/temporal.h"
#include "pg_temporal/type_util.h"
#include "pg_geo/postgis.h"

Functions

Datum Cbuffer_as_ewkt (PG_FUNCTION_ARGS)
 Return the Extended Well-Known Text (EWKT) representation of a circular buffer. More...
 
Datum Cbuffer_as_hexwkb (PG_FUNCTION_ARGS)
 Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a circular buffer @sqlfn asHexWKB() More...
 
Datum Cbuffer_as_text (PG_FUNCTION_ARGS)
 Return the Well-Known Text (WKT) representation of a circular buffer @sqlfn asText() More...
 
static Datum Cbuffer_as_text_ext (FunctionCallInfo fcinfo, bool extended)
 Return the (Extended) Well-Known Text (WKT or EWKT) representation of a circular buffer @sqlfn asText() More...
 
Datum Cbuffer_as_wkb (PG_FUNCTION_ARGS)
 Return the Well-Known Binary (WKB) representation of a circular buffer @sqlfn asBinary() More...
 
Datum Cbuffer_cmp (PG_FUNCTION_ARGS)
 Return -1, 0, or 1 depending on whether the first circular buffer is less than, equal to, or greater than the second one. More...
 
Datum Cbuffer_constructor (PG_FUNCTION_ARGS)
 Construct a circular buffer from a point and a radius @sqlfn cbuffer() More...
 
Datum Cbuffer_contains (PG_FUNCTION_ARGS)
 Return true if two circular buffers are disjoint @sqlfn cbuffer_contains() More...
 
Datum Cbuffer_covers (PG_FUNCTION_ARGS)
 Return true if two circular buffers are disjoint @sqlfn cbuffer_covers() More...
 
Datum Cbuffer_disjoint (PG_FUNCTION_ARGS)
 Return true if two circular buffers are disjoint @sqlfn cbuffer_disjoint() More...
 
Datum Cbuffer_dwithin (PG_FUNCTION_ARGS)
 Return true if two circular buffers are within a distance @sqlfn cbuffer_dwithin() More...
 
Datum Cbuffer_eq (PG_FUNCTION_ARGS)
 Return true if the first circular buffer is equal to the second one @sqlfn cbuffer_eq() More...
 
Datum Cbuffer_from_hexwkb (PG_FUNCTION_ARGS)
 Return a circular buffer from its ASCII hex-encoded Well-Known Binary (HexWKB) representation @sqlfn cbufferFromHexWKB() More...
 
Datum Cbuffer_from_wkb (PG_FUNCTION_ARGS)
 Return a circular buffer from its Well-Known Binary (WKB) representation @sqlfn cbufferFromBinary() More...
 
Datum Cbuffer_ge (PG_FUNCTION_ARGS)
 Return true if the first circular buffer is greater than or equal to the second one @sqlfn cbuffer_ge() More...
 
Datum Cbuffer_gt (PG_FUNCTION_ARGS)
 Return true if the first circular buffer is greater than the second one @sqlfn cbuffer_gt() More...
 
Datum Cbuffer_hash (PG_FUNCTION_ARGS)
 Return the 32-bit hash value of a circular buffer @sqlfn hash() More...
 
Datum Cbuffer_hash_extended (PG_FUNCTION_ARGS)
 Return the 64-bit hash value of a circular buffer using a seed @sqlfn hash_extended() More...
 
Datum Cbuffer_in (PG_FUNCTION_ARGS)
 Return a circular buffer from its Well-Known Text (WKT) representation. More...
 
Datum Cbuffer_intersects (PG_FUNCTION_ARGS)
 Return true if two circular buffers intersect @sqlfn cbuffer_intersects() More...
 
Datum Cbuffer_le (PG_FUNCTION_ARGS)
 Return true if the first circular buffer is less than or equal to the second one @sqlfn cbuffer_le() More...
 
Datum Cbuffer_lt (PG_FUNCTION_ARGS)
 Return true if the first circular buffer is less than the second one @sqlfn cbuffer_lt() More...
 
Datum Cbuffer_ne (PG_FUNCTION_ARGS)
 Return true if the first circular buffer is different from the second one @sqlfn cbuffer_ne() More...
 
Datum Cbuffer_out (PG_FUNCTION_ARGS)
 Return the Well-Known Text (WKT) representation of a circular buffer @sqlfn cbuffer_out() More...
 
Datum Cbuffer_point (PG_FUNCTION_ARGS)
 Return the point of a circular buffer @sqlfn point() More...
 
Datum Cbuffer_radius (PG_FUNCTION_ARGS)
 Return the radius of a circular buffer @sqlfn radius() More...
 
Datum Cbuffer_recv (PG_FUNCTION_ARGS)
 Return a circular buffer from its Well-Known Binary (WKB) representation @sqlfn cbuffer_recv() More...
 
Datum Cbuffer_round (PG_FUNCTION_ARGS)
 Return a circular buffer with the precision of the values set to a number of decimal places @sqlfn round() More...
 
Datum Cbuffer_same (PG_FUNCTION_ARGS)
 Return true if two circular buffers are approximately equal with respect to an epsilon value @sqlfn same() More...
 
Datum Cbuffer_send (PG_FUNCTION_ARGS)
 Return the Well-Known Binary (WKB) representation of a circular buffer @sqlfn cbuffer_send() More...
 
Datum Cbuffer_set_srid (PG_FUNCTION_ARGS)
 Return a circular buffer with the coordinates of the point set to an SRID @sqlfn setSRID() More...
 
Datum Cbuffer_srid (PG_FUNCTION_ARGS)
 Return the SRID of a circular buffer @sqlfn SRID() More...
 
Datum Cbuffer_timestamptz_to_stbox (PG_FUNCTION_ARGS)
 Construct a spatiotemporal box from a circular buffer and a timestamptz @sqlfn stbox() More...
 
Datum Cbuffer_to_geom (PG_FUNCTION_ARGS)
 Convert a circular buffer into a geometry @sqlfn geometry() More...
 
Datum Cbuffer_to_stbox (PG_FUNCTION_ARGS)
 Construct a spatiotemporal box from a circular buffer @sqlfn stbox() More...
 
Datum Cbuffer_touches (PG_FUNCTION_ARGS)
 Return true if two circular buffers intersect @sqlfn cbuffer_touches() More...
 
Datum Cbuffer_transform (PG_FUNCTION_ARGS)
 Return a circular buffer transformed to an SRID @sqlfn transform() More...
 
Datum Cbuffer_transform_pipeline (PG_FUNCTION_ARGS)
 Return a circular buffer transformed to an SRID using a pipeline @sqlfn transformPipeline() More...
 
Datum Cbuffer_tstzspan_to_stbox (PG_FUNCTION_ARGS)
 Construct a spatiotemporal box from a circular buffer and a timestamptz span box @sqlfn stbox() More...
 
Datum Cbufferarr_round (PG_FUNCTION_ARGS)
 Return an array of circular buffers with the precision of the values set to a number of decimal places @sqlfn round() More...
 
Datum Geom_to_cbuffer (PG_FUNCTION_ARGS)
 Convert a geometry into a circular buffer @sqlfn cbuffer() More...
 

Detailed Description

Static circular buffer type.