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

Method refreshContents

src/main/java/trace/util/TCB3.java:225–235  ·  view source on GitHub ↗
(TCB3 into, List<Vec3> a)

Source from the content-addressed store, hash-verified

223 }
224
225 static public TCB3 refreshContents(TCB3 into, List<Vec3> a) {
226
227 if (into.n.size() != a.size())
228 throw new IllegalArgumentException(into.n.size() + " != " + a.size());
229 int index = 0;
230 for (Vec3 vv : a) {
231 Node n = into.n.get(index++);
232 n.setV(vv);
233 }
234 return into;
235 }
236
237 public TCB3 copy() {
238

Callers 1

fromPointsMethod · 0.95

Calls 3

setVMethod · 0.95
getMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected