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

Method getControlPointForFeatherPoint

Engine/Bezier.cpp:3176–3187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3174}
3175
3176BezierCPPtr
3177Bezier::getControlPointForFeatherPoint(const BezierCPPtr & fp) const
3178{
3179 assert( fp->isFeatherPoint() );
3180 int index = getFeatherPointIndex(fp);
3181 assert(index != -1);
3182 if (index == -1) {
3183 return BezierCPPtr();
3184 }
3185
3186 return getControlPointAtIndex(index);
3187}
3188
3189void
3190Bezier::leftDerivativeAtPoint(bool useGuiCurves,

Callers 3

undoMethod · 0.80
redoMethod · 0.80

Calls 1

isFeatherPointMethod · 0.80

Tested by

no test coverage detected