------------------------------------------------------------------------------
| 268 | |
| 269 | //------------------------------------------------------------------------------ |
| 270 | int vtkBandedPolyDataContourFilter::InsertLine( |
| 271 | vtkCellArray* cells, vtkIdType pt1, vtkIdType pt2, int cellId, double s, vtkFloatArray* newS) |
| 272 | { |
| 273 | int idx = this->ComputeClippedIndex(s); |
| 274 | if (idx < 0) |
| 275 | { |
| 276 | return cellId; |
| 277 | } |
| 278 | cells->InsertNextCell(2); |
| 279 | cells->InsertCellPoint(pt1); |
| 280 | cells->InsertCellPoint(pt2); |
| 281 | return InsertNextScalar(newS, cellId, idx); |
| 282 | } |
| 283 | |
| 284 | //------------------------------------------------------------------------------ |
| 285 | int vtkBandedPolyDataContourFilter::ComputeClippedIndex(double s) |
no test coverage detected