| 457 | |
| 458 | template<typename X, typename Y> |
| 459 | int 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 | |
| 466 | template<typename X, typename Y> |
| 467 | void Ramp<X,Y>::fromDeprecatedSpline( const IECore::Spline<X, Y> &deprecated ) |
no test coverage detected