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

Method getFeatherPointForControlPoint

Engine/Bezier.cpp:3166–3174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3164} // controlPointsWithinRect
3165
3166BezierCPPtr
3167Bezier::getFeatherPointForControlPoint(const BezierCPPtr & cp) const
3168{
3169 assert( !cp->isFeatherPoint() );
3170 int index = getControlPointIndex(cp);
3171 assert(index != -1);
3172
3173 return getFeatherPointAtIndex(index);
3174}
3175
3176BezierCPPtr
3177Bezier::getControlPointForFeatherPoint(const BezierCPPtr & fp) const

Callers 3

undoMethod · 0.80
redoMethod · 0.80

Calls 1

isFeatherPointMethod · 0.80

Tested by

no test coverage detected