![]() |
MobilityDB 1.3
|
Accessor functions for static geometries. More...
Functions | |
bool | geo_is_empty (const GSERIALIZED *gs) |
Get the SRID of a geometry/geography. More... | |
const char * | geo_typename (int type) |
Return a string representation of a geometry's type. More... | |
double | geog_area (const GSERIALIZED *gs, bool use_spheroid) |
Returns the area of a geography in square meters. More... | |
GSERIALIZED * | geog_centroid (const GSERIALIZED *g, bool use_spheroid) |
Return the centroid of a geometry. More... | |
double | geog_length (const GSERIALIZED *gs, bool use_spheroid) |
Return double length in meters. More... | |
double | geog_perimeter (const GSERIALIZED *gs, bool use_spheroid) |
Returns the perimeter of a geography in meters. More... | |
bool | geom_azimuth (const GSERIALIZED *gs1, const GSERIALIZED *gs2, double *result) |
Return in the last argument the azimuth of a segment defined by two points. More... | |
double | geom_length (const GSERIALIZED *gs) |
Return the length of a geometry. More... | |
double | geom_perimeter (const GSERIALIZED *gs) |
Return the perimeter of a geometry. More... | |
int | line_numpoints (const GSERIALIZED *gs) |
Return the number of points of a line. More... | |
GSERIALIZED * | line_point_n (const GSERIALIZED *gs, int n) |
Return the n-th point of a line. More... | |
Accessor functions for static geometries.