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

Method getNodeNear

Processing/game2dai/graph/Graph.java:245–256  ·  view source on GitHub ↗

Locate and return the first node encountered that is within a stated distance of a position at [x,y,z] @param x @param y @param z @param maxDistance only consider a node that is with this distance of [x,y,z] @return the node if it meets the distance criteria else null

(double x, double y, double z, double maxDistance)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

xMethod · 0.45
yMethod · 0.45
zMethod · 0.45

Tested by

no test coverage detected