MCPcopy Create free account
hub / github.com/dabing1022/Blog / getNodeNearest

Method getNodeNearest

Processing/game2dai/graph/Graph.java:284–300  ·  view source on GitHub ↗

Find the node nearest the node specified based on Euclidean distance between them. @param a_node the node to use as the origin. @return the nearest node found or null if none exists.

(GraphNode a_node)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pathAddToRouteMethod · 0.80

Calls 5

distance_sqMethod · 0.95
getMethod · 0.45
xMethod · 0.45
yMethod · 0.45
zMethod · 0.45

Tested by

no test coverage detected