MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
trgeo.h File Reference

General functions for temporal rigid geometries. More...

#include <postgres.h>
#include "temporal/temporal.h"

Go to the source code of this file.

Macros

#define NO_GEOM   false
 
#define WITH_GEOM   true
 Symbolic constants for the temporal instant geometry constuctor. More...
 

Functions

bool ensure_has_geom (int16 flags)
 Ensure that a temporal rigid geometry has a reference geometry. More...
 
bool ensure_valid_trgeo_geo (const Temporal *temp, const GSERIALIZED *gs)
 Ensure the validity of a temporal rigid geometry and a geometry. More...
 
bool ensure_valid_trgeo_stbox (const Temporal *temp, const STBox *box)
 Ensure the validity of a temporal rigid geometry and a geometry. More...
 
bool ensure_valid_trgeo_tpoint (const Temporal *temp1, const Temporal *temp2)
 Ensure the validity of two temporal rigid geometries. More...
 
bool ensure_valid_trgeo_trgeo (const Temporal *temp1, const Temporal *temp2)
 Ensure the validity of two temporal rigid geometries. More...
 
TInstantgeo_tposeinst_to_trgeo (const GSERIALIZED *gs, const TInstant *inst)
 Construct a temporal rigid geometry from a geometry and a temporal pose. More...
 
TSequencegeo_tposeseq_to_trgeo (const GSERIALIZED *gs, const TSequence *seq)
 Construct a temporal rigid geometry from a geometry and a temporal pose. More...
 
TSequenceSetgeo_tposeseqset_to_trgeo (const GSERIALIZED *gs, const TSequenceSet *ss)
 Construct a temporal rigid geometry from a geometry and a temporal pose. More...
 
const GSERIALIZEDtrgeo_geom_p (const Temporal *temp)
 Return the reference geometry of a temporal rigid geometry. More...
 
bool trgeo_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, Datum *result)
 Return the value of a temporal rigid geometry at a timestamptz. More...
 
char * trgeo_wkt_out (const Temporal *temp, int maxdd, bool extended)
 Return the (Extended) Well-Known Text (WKT or EWKT) representation of a temporal rigid geometry. More...
 

Detailed Description

General functions for temporal rigid geometries.