MCPcopy Create free account
hub / github.com/ImageEngine/cortex / oslStartPointMultiplicity

Method oslStartPointMultiplicity

src/IECore/Ramp.cpp:459–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457
458template<typename X, typename Y>
459int Ramp<X,Y>::oslStartPointMultiplicity() const
460{
461 // The "multiplicity" is one greater than the number of duplicates: by default, without duplication,
462 // every control point has a multiplicity of 1, and after 1 duplicate, there is a multiplicity of 2.
463 return getOSLEndPointDuplication( interpolation ).first + 1;
464}
465
466template<typename X, typename Y>
467void Ramp<X,Y>::fromDeprecatedSpline( const IECore::Spline<X, Y> &deprecated )

Callers 2

createRampInputAdapterFunction · 0.80
collapseRampsMethod · 0.80

Calls 1

Tested by

no test coverage detected