MobilityDB 1.1
Functions
tpoint_aggfuncs.c File Reference
#include "point/tpoint_aggfuncs.h"
#include <assert.h>
#include <meos.h>
#include <meos_internal.h>
#include "general/temporaltypes.h"
#include "general/doublen.h"
#include "general/skiplist.h"
#include "general/temporal_aggfuncs.h"
#include "point/tpoint.h"
#include "point/tpoint_spatialfuncs.h"
Include dependency graph for tpoint_aggfuncs.c:

Functions

static Datum doublen_to_point (const TInstant *inst, int srid)
 Transform a temporal doubleN instant into a point. More...
 
void geoaggstate_check (const SkipList *state, int32_t srid, bool hasz)
 Aggregate functions for temporal points. More...
 
void geoaggstate_check_state (const SkipList *state1, const SkipList *state2)
 Check the validity of the temporal point values for aggregation. More...
 
void geoaggstate_check_temp (const SkipList *state, const Temporal *t)
 Check the validity of the temporal point values for aggregation. More...
 
STBoxtpoint_extent_transfn (STBox *box, const Temporal *temp)
 Transition function for temporal extent aggregation of temporal point values. More...
 
SkipListtpoint_tcentroid_transfn (SkipList *state, Temporal *temp)
 Transition function for temporal centroid aggregation of temporal point values. More...
 
Temporal ** tpoint_transform_tcentroid (const Temporal *temp, int *count)
 Transform a temporal point value for performing temporal centroid aggregation. More...
 
static TInstant ** tpointdiscseq_transform_tcentroid (const TSequence *seq)
 Transform a temporal point discrete sequence into a temporal double3/double4 value for performing temporal centroid aggregation. More...
 
TSequencetpointinst_tcentroid_finalfn (TInstant **instants, int count, int srid)
 Final function for temporal centroid aggregation of temporal point value with instant type. More...
 
static TInstanttpointinst_transform_tcentroid (const TInstant *inst)
 Transform a temporal point value of instant type into a temporal double3/double4 value for performing temporal centroid aggregation. More...
 
TSequenceSettpointseq_tcentroid_finalfn (TSequence **sequences, int count, int srid)
 Final function for temporal centroid aggregation of temporal point values with sequence type. More...
 
static TSequencetpointseq_transform_tcentroid (const TSequence *seq)
 Transform a temporal point value of sequence type into a temporal double3/double4 value for performing temporal centroid aggregation. More...
 
static TSequence ** tpointseqset_transform_tcentroid (const TSequenceSet *ts)
 Transform a temporal point value of sequence set type into a temporal double3/double4 value for performing temporal centroid aggregation. More...