MCPcopy Create free account
hub / github.com/MapServer/MapServer / msDistancePointToShape

Function msDistancePointToShape

mapsearch.c:464–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464double msDistancePointToShape(pointObj *point, shapeObj *shape)
465{
466 double d;
467
468 d = msSquareDistancePointToShape(point, shape);
469
470 return(sqrt(d));
471}
472
473/*
474** As msDistancePointToShape; avoid expensive sqrt calls

Callers 2

msQueryByPointFunction · 0.85
pointObj_distanceToShapeFunction · 0.85

Calls 1

Tested by

no test coverage detected