return LW_TRUE if any of the line segments covers the point
Definition at line 2757 of file lwgeodetic.c.
double lwpoint_get_x(const LWPOINT *point)
#define LW_TRUE
Return types for functions with status returns.
double lwpoint_get_y(const LWPOINT *point)
const POINT2D * getPoint2d_cp(const POINTARRAY *pa, uint32_t n)
Returns a POINT2D pointer into the POINTARRAY serialized_ptlist, suitable for reading from.
void geographic_point_init(double lon, double lat, GEOGRAPHIC_POINT *g)
Initialize a geographic point.
int edge_contains_point(const GEOGRAPHIC_EDGE *e, const GEOGRAPHIC_POINT *p)
Returns true if the point p is on the minor edge defined by the end points of e.
Two-point great circle segment from a to b.
Point in spherical coordinates on the world.
References edge_contains_point(), GEOGRAPHIC_EDGE::end, geographic_point_init(), getPoint2d_cp(), LW_FALSE, LW_TRUE, lwpoint_get_x(), lwpoint_get_y(), POINTARRAY::npoints, LWLINE::points, GEOGRAPHIC_EDGE::start, POINT2D::x, and POINT2D::y.
Referenced by lwgeom_covers_lwgeom_sphere(), and lwline_covers_lwline().