MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / fromPoints

Method fromPoints

src/main/java/trace/util/TCB3.java:209–217  ·  view source on GitHub ↗
(List<Vec3> a, float t, float c, float b)

Source from the content-addressed store, hash-verified

207 }
208
209 static public TCB3 fromPoints(List<Vec3> a, float t, float c, float b) {
210 TCB3 tcb = new TCB3();
211 int index = 0;
212 for (Vec3 vv : a) {
213 Node n = tcb.newNode(index++, vv);
214 n.refresh = tcb.tcb(t, c, b);
215 }
216 return tcb;
217 }
218
219 static public TCB3 fromPoints(TCB3 refresh, List<Vec3> a, float t, float c, float b) {
220 if (refresh == null || refresh.n.size() != a.size())

Callers

nothing calls this directly

Calls 4

newNodeMethod · 0.95
tcbMethod · 0.95
refreshContentsMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected