Definition at line 561 of file cu_geodetic.c.
References geog2cart(), geographic_point_init(), getPoint2d_p(), LW_PARSER_CHECK_NONE, lwgeom_from_wkt(), lwline_free(), LWLINE::points, POINT2D::x, and POINT2D::y.
Referenced by test_edge_intersects().
569 printf(
"BAD WKT FOUND in test_edge_intersects:\n %s\n\n", wkt);
void lwline_free(LWLINE *line)
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Point in spherical coordinates on the world.
#define LW_PARSER_CHECK_NONE
int getPoint2d_p(const POINTARRAY *pa, int n, POINT2D *point)
void geog2cart(const GEOGRAPHIC_POINT *g, POINT3D *p)
Convert spherical coordinates to cartesion coordinates on unit sphere.
void geographic_point_init(double lon, double lat, GEOGRAPHIC_POINT *g)
Initialize a geographic point.