1301{
1303 double m, dist;
1304
1305
1306
1315 "Both input geometries must have a measure dimension");
1316
1317
1318
1326 "Both input geometries must be linestrings");
1327
1328
1329
1332 dist = -77;
1340 "Both input lines must have at least 2 points"
1341
1342
1343 );
1344
1345
1346
1354 "Both input lines must have at least 2 points"
1355
1356 );
1357
1358
1359
1366
1367
1368
1371 dist = -1;
1378
1379
1380
1383 dist = -1;
1392
1393
1394
1397 dist = -1;
1403
1404
1405
1408 dist = -1;
1414
1415
1416
1419 dist = -1;
1425
1426
1427
1430 dist = -1;
1436
1437
1438
1441 dist = -1;
1447
1448
1449
1452 dist = -1;
1458
1459
1460
1463 dist = -1;
1469
1470
1471
1474 dist = -1;
1480
1481
1482
1485 dist = -1;
1491
1492
1493
1496 dist = -1;
1502
1503
1504
1505
1508 dist = -1;
1514
1515
1516
1519 dist = -1;
1525
1526
1527
1530 dist = -1;
1536
1537}
char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1]
#define ASSERT_DOUBLE_EQUAL(o, e)
#define ASSERT_STRING_EQUAL(o, e)
void lwgeom_free(LWGEOM *geom)
#define LW_PARSER_CHECK_NONE
double lwgeom_tcpa(const LWGEOM *g1, const LWGEOM *g2, double *mindist)
Find the time of closest point of approach.
#define LW_TRUE
Return types for functions with status returns.
LWGEOM * lwgeom_from_wkt(const char *wkt, const char check)
int lwgeom_cpa_within(const LWGEOM *g1, const LWGEOM *g2, double maxdist)
Is the closest point of approach within a distance ?