| 221 | } |
| 222 | |
| 223 | void vtkHigherOrderQuadrilateral::Clip(double value, vtkDataArray* cellScalars, |
| 224 | vtkIncrementalPointLocator* locator, vtkCellArray* polys, vtkPointData* inPd, vtkPointData* outPd, |
| 225 | vtkCellData* inCd, vtkIdType cellId, vtkCellData* outCd, int insideOut) |
| 226 | { |
| 227 | this->PrepareApproxData( |
| 228 | inPd, inCd, cellId, cellScalars); // writes to this->{CellScalars, ApproxPD, ApproxCD} |
| 229 | vtkIdType nquad = vtkHigherOrderInterpolation::NumberOfIntervals<2>(this->GetOrder()); |
| 230 | for (int i = 0; i < nquad; ++i) |
| 231 | { |
| 232 | vtkQuad* approx = |
| 233 | this->GetApproximateQuad(i, this->CellScalars.GetPointer(), this->Scalars.GetPointer()); |
| 234 | approx->Clip(value, this->Scalars.GetPointer(), locator, polys, this->ApproxPD, outPd, |
| 235 | this->ApproxCD, cellId, outCd, insideOut); |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | int vtkHigherOrderQuadrilateral::IntersectWithLine( |
| 240 | const double* p1, const double* p2, double tol, double& t, double* x, double* pcoords, int& subId) |
nothing calls this directly
no test coverage detected