Searched refs:ydelt (Results 1 – 2 of 2) sorted by relevance
134 float ydelt = y2 - y1; in shortestVectorFromPointToLine() local135 if (xdelt == 0 && ydelt == 0) in shortestVectorFromPointToLine()137 float u = ((point[0] - x1) * xdelt + (point[1] - y1) * ydelt) in shortestVectorFromPointToLine()138 / (xdelt * xdelt + ydelt * ydelt); in shortestVectorFromPointToLine()