PostGIS  2.3.7dev-r@@SVN_REVISION@@
static void test_lwline_crossing_bugs ( void  )
static

Definition at line 384 of file cu_algorithm.c.

References LINE_MULTICROSS_END_RIGHT, LW_PARSER_CHECK_NONE, lwgeom_from_wkt(), lwline_crossing_direction(), and lwline_free().

Referenced by algorithms_suite_setup().

385 {
386  LWLINE *l1;
387  LWLINE *l2;
388 
389  l1 = (LWLINE*)lwgeom_from_wkt("LINESTRING(2.99 90.16,71 74,20 140,171 154)", LW_PARSER_CHECK_NONE);
390  l2 = (LWLINE*)lwgeom_from_wkt("LINESTRING(25 169,89 114,40 70,86 43)", LW_PARSER_CHECK_NONE);
391 
393  lwline_free(l1);
394  lwline_free(l2);
395 
396 }
int lwline_crossing_direction(const LWLINE *l1, const LWLINE *l2)
Given two lines, characterize how (and if) they cross each other.
Definition: lwalgorithm.c:460
void lwline_free(LWLINE *line)
Definition: lwline.c:76
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
Definition: lwin_wkt.c:904
#define LW_PARSER_CHECK_NONE
Definition: liblwgeom.h:1985

Here is the call graph for this function:

Here is the caller graph for this function: