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

General functions for geometry/geography sets. More...

#include <assert.h>
#include <postgres.h>
#include <meos.h>
#include <meos_internal_geo.h>
#include "temporal/type_parser.h"
#include "temporal/type_util.h"
#include "geo/tgeo_spatialfuncs.h"

Functions

bool contained_geo_set (const GSERIALIZED *gs, const Set *s)
 Return true if a geometry/geography is contained in a set. More...
 
bool contains_set_geo (const Set *s, GSERIALIZED *gs)
 Return true if a set contains a geometry/geography. More...
 
bool ensure_valid_set_geo (const Set *s, const GSERIALIZED *gs)
 Return true if a set and a geometry/geography are valid for set operations. More...
 
Setgeo_set (const GSERIALIZED *gs)
 Convert a geometry/geography into a geo set. More...
 
Setgeo_to_set (const GSERIALIZED *gs)
 Convert a geometry/geography into a geo set. More...
 
Setgeo_union_transfn (Set *state, const GSERIALIZED *gs)
 Transition function for set union aggregate of geometries/geographies. More...
 
Setgeogset_in (const char *str)
 Return a set from its Well-Known Text (WKT) representation. More...
 
Setgeomset_in (const char *str)
 Return a set from its Well-Known Text (WKT) representation. More...
 
GSERIALIZEDgeoset_end_value (const Set *s)
 Return a copy of the end value of a geo set. More...
 
Setgeoset_make (const GSERIALIZED **values, int count)
 Return a geo set from an array of values. More...
 
GSERIALIZEDgeoset_start_value (const Set *s)
 Return a copy of the start value of a geo set. More...
 
bool geoset_value_n (const Set *s, int n, GSERIALIZED **result)
 Return in the last argument a copy of the n-th value of a geo set. More...
 
GSERIALIZED ** geoset_values (const Set *s)
 Return an array of copies of the values of a geo set. More...
 
Setintersection_geo_set (const GSERIALIZED *gs, const Set *s)
 Return the intersection of a geometry/geography and a set. More...
 
Setintersection_set_geo (const Set *s, const GSERIALIZED *gs)
 Return the intersection of a set and a geometry/geography. More...
 
Setminus_geo_set (const GSERIALIZED *gs, const Set *s)
 Return the difference of a geometry/geography and a set. More...
 
Setminus_set_geo (const Set *s, const GSERIALIZED *gs)
 Return the difference of a set and a geometry/geography. More...
 
Setunion_geo_set (const GSERIALIZED *gs, const Set *s)
 Return the union of a geometry/geography and a set. More...
 
Setunion_set_geo (const Set *s, const GSERIALIZED *gs)
 Return the union of a set and a geometry/geography. More...
 

Detailed Description

General functions for geometry/geography sets.