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

Method sampleNodes

core/src/main/java/edu/mines/jtk/mesh/TriMesh.java:4292–4303  ·  view source on GitHub ↗

Randomly samples nodes to facilitate fast searches. Following Mucke et al., 1996, the number of samples is proportional to N^(1/3), where N equals the number of nodes. The factor of 0.45 was used by Shewchuk, 1997.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

readObjectMethod · 0.95

Calls 4

sizeMethod · 0.65
addMethod · 0.65
clearMethod · 0.45
powMethod · 0.45

Tested by

no test coverage detected