Definition at line 1544 of file cu_geodetic.c.
1557 CU_ASSERT_DOUBLE_EQUAL(
area, 12360265021.3561, 1.0);
1563 CU_ASSERT_DOUBLE_EQUAL(
area, 127516467322130, 1.0);
1568 CU_ASSERT_DOUBLE_EQUAL(
area, 127516467322130, 1.0);
1573 CU_ASSERT_DOUBLE_EQUAL(
area, 127516467322130, 1.0);
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
void spheroid_init(SPHEROID *s, double a, double b)
Initialize a spheroid object for use in geodetic functions.
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
double lwgeom_area_sphere(const LWGEOM *lwgeom, const SPHEROID *spheroid)
Calculate the geodetic area of a lwgeom on the sphere.
Datum area(PG_FUNCTION_ARGS)
References area(), LW_PARSER_CHECK_NONE, lwgeom_area_sphere(), lwgeom_free(), lwgeom_from_wkt(), s, spheroid_init(), WGS84_MAJOR_AXIS, and WGS84_MINOR_AXIS.
Referenced by geodetic_suite_setup().