1252{
1254 double m, dist;
1255
1256
1257
1266 "Both input geometries must have a measure dimension");
1267
1268
1269
1277 "Both input geometries must be linestrings");
1278
1279
1280
1283 dist = -77;
1291 "Both input lines must have at least 2 points"
1292
1293
1294 );
1295
1296
1297
1305 "Both input lines must have at least 2 points"
1306
1307 );
1308
1309
1310
1317
1318
1319
1322 dist = -1;
1329
1330
1331
1334 dist = -1;
1343
1344
1345
1348 dist = -1;
1354
1355
1356
1359 dist = -1;
1365
1366
1367
1370 dist = -1;
1376
1377
1378
1381 dist = -1;
1387
1388
1389
1392 dist = -1;
1398
1399
1400
1403 dist = -1;
1409
1410
1411
1414 dist = -1;
1420
1421
1422
1425 dist = -1;
1431
1432
1433
1436 dist = -1;
1442
1443
1444
1447 dist = -1;
1453
1454
1455
1456
1459 dist = -1;
1465
1466
1467
1470 dist = -1;
1476
1477
1478
1481 dist = -1;
1487
1488}
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 ?