MCPcopy Index your code
hub / github.com/MapServer/MapServer / msDistancePointToSegment

Function msDistancePointToSegment

mapsearch.c:334–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334double msDistancePointToSegment(pointObj *p, pointObj *a, pointObj *b)
335{
336 return (sqrt(msSquareDistancePointToSegment(p, a, b)));
337}
338
339double msSquareDistancePointToSegment(pointObj *p, pointObj *a, pointObj *b)
340{

Callers 2

msGetMeasureUsingPointFunction · 0.85
pointObj_distanceToLineFunction · 0.85

Calls 1

Tested by

no test coverage detected