MCPcopy Create free account
hub / github.com/dhale/jtk / getDistanceSquared

Method getDistanceSquared

core/src/main/java/edu/mines/jtk/util/RTree.java:87–87  ·  view source on GitHub ↗

Gets the distance-squared from this boxed object to a point. Note: this distance is typically not the same as the distance from the boxed object's bounds to the point. Rather, it is the distance from the object within those bounds. @param point array of N point coordinates. @return

(float[] point)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

testNearestMethod · 0.65
findNearestMethod · 0.65
findInSphereMethod · 0.65
getDistanceSquaredMethod · 0.65
distanceSquaredMethod · 0.65
updateMethod · 0.65

Implementers 4

Boxcore/src/main/java/edu/mines/jtk/util/
Pointcore/src/test/java/edu/mines/jtk/util/
Trianglecore/src/test/java/edu/mines/jtk/util/
DefaultBoxercore/src/main/java/edu/mines/jtk/util/

Calls

no outgoing calls

Tested by 3

testNearestMethod · 0.52
findNearestMethod · 0.52
findInSphereMethod · 0.52