MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getControlPointPosition

Method getControlPointPosition

Engine/PyRoto.cpp:309–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309void
310BezierCurve::getControlPointPosition(int index,
311 double time,
312 double* x,
313 double *y,
314 double *lx,
315 double *ly,
316 double *rx,
317 double *ry) const
318{
319 BezierCPPtr cp = _bezier->getControlPointAtIndex(index);
320
321 cp->getPositionAtTime(true, time, ViewIdx(0), x, y);
322 cp->getLeftBezierPointAtTime(true, time, ViewIdx(0), lx, ly);
323 cp->getRightBezierPointAtTime(true, time, ViewIdx(0), rx, ry);
324}
325
326void
327BezierCurve::getFeatherPointPosition(int index,

Calls 5

getPositionAtTimeMethod · 0.80
ViewIdxClass · 0.70

Tested by

no test coverage detected