![]() |
MobilityDB 1.3
|
Spatial functions for temporal circular buffers. More...
#include <postgres.h>
#include <utils/float.h>
#include <meos.h>
#include <meos_geo.h>
#include <meos_internal.h>
#include <meos_internal_geo.h>
#include "geo/tgeo_spatialfuncs.h"
#include "cbuffer/cbuffer.h"
Functions | |
GSERIALIZED * | cbuffer_trav_area (const Cbuffer *cb) |
Return the traversed area of a circular buffer. More... | |
int | cbufferarr_circles (const TInstant **instants, int count, GSERIALIZED **result) |
Return the traversed area of a temporal circular buffer with step or discrete interpolation. More... | |
bool | circle_type (const GSERIALIZED *gs) |
Return true if the geometry/geography is a circle. More... | |
bool | ensure_circle_type (const GSERIALIZED *gs) |
Ensure that the geometry/geography is a circle. More... | |
static int | geoarr_remove_duplicates (GSERIALIZED **geoms, int count) |
Remove duplicates from an array of components of the traversed area or a temporal circular buffer. More... | |
static void | geoarr_sort (GSERIALIZED **geoms, int count) |
Sort function for trapezoids. More... | |
static int | geoarr_sort_cmp (const GSERIALIZED **l, const GSERIALIZED **r) |
Comparator function for components of the traversed area of a temporal circular buffer, which can be points, circles, or trapezoids. More... | |
GSERIALIZED * | geocircle_make (double x, double y, double radius, int32_t srid) |
Return a circle created from a central point and a radius. More... | |
LWGEOM * | lwcircle_make (double x, double y, double radius, int32_t srid) |
Return a circle created from a central point and a radius. More... | |
LWCIRCSTRING * | lwcircstring_from_lwpointarray (int32_t srid, uint32_t npoints, LWPOINT **points) |
GSERIALIZED * | tcbuffer_trav_area (const Temporal *temp, bool merge_union) |
Return the traversed area of a temporal circular buffer. More... | |
GSERIALIZED * | tcbufferinst_trav_area (const TInstant *inst) |
Return the traversed area of a temporal circular buffer instant. More... | |
GSERIALIZED * | tcbuffersegm_trav_area (const TInstant *inst1, const TInstant *inst2) |
Return the traversed area of a temporal circular buffer segment with linear interpolation. More... | |
int | tcbufferseq_discstep_trav_area (const TSequence *seq, GSERIALIZED **result) |
Return the traversed area of a temporal circular buffer sequence with discrete or step interpolation. More... | |
int | tcbufferseq_linear_trav_area (const TSequence *seq, GSERIALIZED **result) |
Return the traversed area of a temporal circular buffer sequence with linear interpolation (iterator function) More... | |
GSERIALIZED * | tcbufferseq_trav_area (const TSequence *seq, bool merge_union) |
Return the traversed area of a temporal circular buffer sequence. More... | |
int | tcbufferseqset_linear_trav_area (const TSequenceSet *ss, GSERIALIZED **result) |
Return the traversed area of a temporal circular buffer sequence set with linear interpolation. More... | |
int | tcbufferseqset_step_trav_area (const TSequenceSet *ss, GSERIALIZED **result) |
Return the traversed area of a temporal circular buffer sequence set with step interpolation. More... | |
GSERIALIZED * | tcbufferseqset_trav_area (const TSequenceSet *ss, bool merge_union) |
Return the traversed area of a temporal circular buffer. More... | |
LWGEOM * | trapezoid_make (const Cbuffer *c1, const Cbuffer *c2) |
Return a trapezoid created from two circular buffers. More... | |
Spatial functions for temporal circular buffers.