| 447 | } |
| 448 | |
| 449 | void vtkHigherOrderWedge::Clip(double value, vtkDataArray* cellScalars, |
| 450 | vtkIncrementalPointLocator* locator, vtkCellArray* polys, vtkPointData* inPd, vtkPointData* outPd, |
| 451 | vtkCellData* inCd, vtkIdType cellId, vtkCellData* outCd, int insideOut) |
| 452 | { |
| 453 | this->PrepareApproxData( |
| 454 | inPd, inCd, cellId, cellScalars); // writes to this->{CellScalars, ApproxPD, ApproxCD} |
| 455 | vtkIdType nwedge = this->GetNumberOfApproximatingWedges(); |
| 456 | for (int i = 0; i < nwedge; ++i) |
| 457 | { |
| 458 | vtkWedge* approx = |
| 459 | this->GetApproximateWedge(i, this->CellScalars.GetPointer(), this->Scalars.GetPointer()); |
| 460 | approx->Clip(value, this->Scalars.GetPointer(), locator, polys, this->ApproxPD, outPd, |
| 461 | this->ApproxCD, cellId, outCd, insideOut); |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | int vtkHigherOrderWedge::IntersectWithLine( |
| 466 | const double* p1, const double* p2, double tol, double& t, double* x, double* pcoords, int& subId) |
nothing calls this directly
no test coverage detected