------------------------------------------------------------------------------
| 37 | |
| 38 | //------------------------------------------------------------------------------ |
| 39 | void vtkSpline::SetParametricRange(double tMin, double tMax) |
| 40 | { |
| 41 | if (tMin != this->ParametricRange[0] || tMax != this->ParametricRange[1]) |
| 42 | { |
| 43 | if (tMin >= tMax) |
| 44 | { |
| 45 | tMax = tMin + 1; |
| 46 | } |
| 47 | |
| 48 | this->ParametricRange[0] = tMin; |
| 49 | this->ParametricRange[1] = tMax; |
| 50 | |
| 51 | this->Modified(); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | //------------------------------------------------------------------------------ |
| 56 | void vtkSpline::GetParametricRange(double tRange[2]) const |
no test coverage detected