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

Method evaluate

src/main/java/trace/util/TCB3.java:198–207  ·  view source on GitHub ↗
(double a, Vec3 out)

Source from the content-addressed store, hash-verified

196 }
197
198 public Vec3 evaluate(double a, Vec3 out) {
199 Triple<Node, Node, Double> q = this.bracket(a);
200
201 if (q == null) {
202 System.out.println(" could not bracket <" + a + "> inside <" + this.n + ">");
203 return null;
204 }
205
206 return evaluateFrame(q.first, q.second, q.third.doubleValue(), out);
207 }
208
209 static public TCB3 fromPoints(List<Vec3> a, float t, float c, float b) {
210 TCB3 tcb = new TCB3();

Callers 5

run.jsFile · 0.45
positionAtTimeMethod · 0.45
velocityAtTimeMethod · 0.45
atTimeMethod · 0.45
rectAtTimeMethod · 0.45

Calls 3

bracketMethod · 0.95
evaluateFrameMethod · 0.95
printlnMethod · 0.45

Tested by

no test coverage detected