| 1996 | } |
| 1997 | |
| 1998 | StatusEnum |
| 1999 | KnobParametric::getValue(int dimension, |
| 2000 | double parametricPosition, |
| 2001 | double *returnValue) const |
| 2002 | { |
| 2003 | ///Mt-safe as Curve is MT-safe |
| 2004 | if ( dimension >= (int)_curves.size() ) { |
| 2005 | return eStatusFailed; |
| 2006 | } |
| 2007 | try { |
| 2008 | *returnValue = getParametricCurve(dimension)->getValueAt(parametricPosition); |
| 2009 | } catch (...) { |
| 2010 | return eStatusFailed; |
| 2011 | } |
| 2012 | |
| 2013 | return eStatusOK; |
| 2014 | } |
| 2015 | |
| 2016 | StatusEnum |
| 2017 | KnobParametric::getNControlPoints(int dimension, |
no test coverage detected