| 159 | } |
| 160 | |
| 161 | void vtkHigherOrderCurve::Clip(double value, vtkDataArray* cellScalars, |
| 162 | vtkIncrementalPointLocator* locator, vtkCellArray* polys, vtkPointData* inPd, vtkPointData* outPd, |
| 163 | vtkCellData* inCd, vtkIdType cellId, vtkCellData* outCd, int insideOut) |
| 164 | { |
| 165 | this->PrepareApproxData( |
| 166 | inPd, inCd, cellId, cellScalars); // writes to this->{CellScalars, ApproxPD, ApproxCD} |
| 167 | vtkIdType nseg = vtkHigherOrderInterpolation::NumberOfIntervals<1>(this->GetOrder()); |
| 168 | for (int i = 0; i < nseg; ++i) |
| 169 | { |
| 170 | vtkLine* approx = |
| 171 | this->GetApproximateLine(i, this->CellScalars.GetPointer(), this->Scalars.GetPointer()); |
| 172 | approx->Clip(value, this->Scalars.GetPointer(), locator, polys, this->ApproxPD, outPd, |
| 173 | this->ApproxCD, cellId, outCd, insideOut); |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | int vtkHigherOrderCurve::IntersectWithLine( |
| 178 | const double* p1, const double* p2, double tol, double& t, double* x, double* pcoords, int& subId) |
nothing calls this directly
no test coverage detected