MCPcopy Create free account
hub / github.com/WesleyAC/plotter-tools / find_closest

Function find_closest

optimize/src/main.rs:106–119  ·  view source on GitHub ↗

Given a Point finds the Shape whose starting point is nearest the given point.

(p: &Point, shapes: &Vec<Shape>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

order_shapesFunction · 0.85

Calls 1

distanceFunction · 0.85

Tested by

no test coverage detected