![]() |
MobilityDB 1.3
|
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... | |
Set * | geo_set (const GSERIALIZED *gs) |
Convert a geometry/geography into a geo set. More... | |
Set * | geo_to_set (const GSERIALIZED *gs) |
Convert a geometry/geography into a geo set. More... | |
Set * | geo_union_transfn (Set *state, const GSERIALIZED *gs) |
Transition function for set union aggregate of geometries/geographies. More... | |
Set * | geogset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
Set * | geomset_in (const char *str) |
Return a set from its Well-Known Text (WKT) representation. More... | |
GSERIALIZED * | geoset_end_value (const Set *s) |
Return a copy of the end value of a geo set. More... | |
Set * | geoset_make (const GSERIALIZED **values, int count) |
Return a geo set from an array of values. More... | |
GSERIALIZED * | geoset_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... | |
Set * | intersection_geo_set (const GSERIALIZED *gs, const Set *s) |
Return the intersection of a geometry/geography and a set. More... | |
Set * | intersection_set_geo (const Set *s, const GSERIALIZED *gs) |
Return the intersection of a set and a geometry/geography. More... | |
Set * | minus_geo_set (const GSERIALIZED *gs, const Set *s) |
Return the difference of a geometry/geography and a set. More... | |
Set * | minus_set_geo (const Set *s, const GSERIALIZED *gs) |
Return the difference of a set and a geometry/geography. More... | |
Set * | union_geo_set (const GSERIALIZED *gs, const Set *s) |
Return the union of a geometry/geography and a set. More... | |
Set * | union_set_geo (const Set *s, const GSERIALIZED *gs) |
Return the union of a set and a geometry/geography. More... | |
General functions for geometry/geography sets.