MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / compare

Function compare

geometry/graham_scan_functions.hpp:120–131  ·  view source on GitHub ↗

* @brief A function used by library function qsort() to sort an array of * points with respect to the first point * @param vp1 Co-ordinates of Point 1 . * @param vp2 Co-ordinates of Point 2 . * @returns @param int distance between p1 and p2. *******************************************************************************/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

orientationFunction · 0.85
distSqFunction · 0.85

Tested by

no test coverage detected