Definition at line 1122 of file cu_geodetic.c.
References LW_PARSER_CHECK_NONE, LW_TRUE, lwgeom_free(), lwgeom_from_wkt(), lwpoly_covers_point2d(), POINT2D::x, and POINT2D::y.
Referenced by geodetic_suite_setup().
1131 pt_to_test.
x = -10.0;
1132 pt_to_test.
y = 50.0;
1134 CU_ASSERT_EQUAL(result,
LW_TRUE);
1141 pt_to_test.
y = 11.0;
1143 CU_ASSERT_EQUAL(result,
LW_TRUE);
1149 pt_to_test.
x = -172.0;
1150 pt_to_test.
y = -13.0;
1152 CU_ASSERT_EQUAL(result,
LW_TRUE);
void lwgeom_free(LWGEOM *geom)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
#define LW_PARSER_CHECK_NONE
#define LW_TRUE
Return types for functions with status returns.
int lwpoly_covers_point2d(const LWPOLY *poly, const POINT2D *pt_to_test)
Given a polygon (lon/lat decimal degrees) and point (lon/lat decimal degrees) and a guaranteed outsid...