MobilityDB 1.1
|
#include <postgres.h>
#include <liblwgeom.h>
#include "general/meos_catalog.h"
#include "general/span.h"
#include "general/temporal.h"
Go to the source code of this file.
Functions | |
LWGEOM * | box2d_to_lwgeom (GBOX *box, int srid) |
MobilityDB functions gserialized_func(...) corresponding to external PostGIS functions XXX_func(PG_FUNCTION_ARGS). More... | |
LWGEOM * | box3d_to_lwgeom (BOX3D *box) |
Create a geometry from a BOX3D. More... | |
double | gserialized_3Ddistance (const GSERIALIZED *geom1, const GSERIALIZED *geom2) |
Return the distance between two geometries. More... | |
bool | gserialized_3Dintersects (const GSERIALIZED *geom1, const GSERIALIZED *geom2) |
Return true if the 3D geometries intersect. More... | |
GSERIALIZED * | gserialized_array_union (GSERIALIZED **gsarr, int nelems) |
This is the final function for GeomUnion aggregate. More... | |
bool | gserialized_azimuth (GSERIALIZED *geom1, GSERIALIZED *geom2, double *result) |
Compute the azimuth of segment defined by the two given Point geometries. More... | |
GSERIALIZED * | gserialized_boundary (const GSERIALIZED *geom1) |
Return the boundary of a geometry. More... | |
double | gserialized_distance (const GSERIALIZED *geom1, const GSERIALIZED *geom2) |
Return the distance between two geometries. More... | |
bool | gserialized_dwithin (const GSERIALIZED *geom1, const GSERIALIZED *geom2, double tolerance) |
Return true if the geometries are within the given distance. More... | |
bool | gserialized_dwithin3d (const GSERIALIZED *geom1, const GSERIALIZED *geom2, double tolerance) |
Return true if the geometries are within the given distance. More... | |
double | gserialized_geog_distance (const GSERIALIZED *g1, const GSERIALIZED *g2) |
Return the distance between two geographies. More... | |
bool | gserialized_geog_dwithin (GSERIALIZED *g1, GSERIALIZED *g2, double tolerance, bool use_spheroid) |
Return true if the geographies are within the given distance. More... | |
GSERIALIZED * | gserialized_geog_from_geom (GSERIALIZED *geom) |
Get a geography from a geometry. More... | |
GSERIALIZED * | gserialized_geog_in (char *str, int32 geog_typmod) |
Get a geography from in string. More... | |
double | gserialized_geog_length (GSERIALIZED *g, bool use_spheroid) |
Return double length in meters. More... | |
char * | gserialized_geog_out (GSERIALIZED *g) |
Output a geography in string format. More... | |
GSERIALIZED * | gserialized_geom_from_geog (GSERIALIZED *g_ser) |
Get a geometry from a geography. More... | |
bool | gserialized_inter_contains (const GSERIALIZED *geom1, const GSERIALIZED *geom2, bool inter) |
Return true if the geometries intersect or the first contains the other. More... | |
GSERIALIZED * | gserialized_intersection (const GSERIALIZED *geom1, const GSERIALIZED *geom2) |
Return true if the 3D geometries intersect. More... | |
GSERIALIZED * | gserialized_line_interpolate_point (GSERIALIZED *gser, double distance_fraction, int repeat) |
Interpolate a point from a line. More... | |
double | gserialized_line_locate_point (GSERIALIZED *geom1, GSERIALIZED *geom2) |
GSERIALIZED * | gserialized_line_substring (GSERIALIZED *geom, double from, double to) |
Get a subline from a line. More... | |
int | gserialized_numpoints_linestring (const GSERIALIZED *geom) |
numpoints(LINESTRING) – return the number of points in the linestring, or NULL if it is not a linestring More... | |
GSERIALIZED * | gserialized_pointn_linestring (const GSERIALIZED *geom, int where) |
PointN(GEOMETRY,INTEGER) – find the first linestring in GEOMETRY,. More... | |
bool | gserialized_relate_pattern (const GSERIALIZED *geom1, const GSERIALIZED *geom2, char *patt) |
Return true if the 3D geometries intersect. More... | |
GSERIALIZED * | gserialized_reverse (const GSERIALIZED *geom) |
Reverse vertex order of geometry. More... | |
GSERIALIZED * | gserialized_shortestline2d (const GSERIALIZED *geom1, const GSERIALIZED *geom2) |
Return the shortest 2d line between two geometries. More... | |
GSERIALIZED * | gserialized_shortestline3d (const GSERIALIZED *geom1, const GSERIALIZED *geom2) |
Return the shortest line between two geometries in 3D. More... | |
bool | gserialized_touches (const GSERIALIZED *geom1, const GSERIALIZED *geom2) |
Return true if the geometries touch. More... | |
LWGEOM * | lwgeom_line_interpolate_point (LWGEOM *lwgeom, double fraction, int32_t srid, int repeat) |
Get a geometry from a geography. More... | |