------------------------------------------------------------------------------
| 2733 | |
| 2734 | //------------------------------------------------------------------------------ |
| 2735 | vtkIdType vtkDataSetSurfaceFilter::GetOutputPointIdAndInterpolate(vtkIdType cellPtId, |
| 2736 | vtkDataSet* input, vtkCell* cell, double* pc, double* weights, vtkPoints* outPts, |
| 2737 | vtkPointData* outPD) |
| 2738 | { |
| 2739 | vtkIdType outPtId; |
| 2740 | vtkIdType inPtId = cell->GetPointId(cellPtId); |
| 2741 | outPtId = this->PointMap[inPtId]; |
| 2742 | if (outPtId == -1) |
| 2743 | { |
| 2744 | int subId = -1; |
| 2745 | double wcoords[3]; |
| 2746 | cell->EvaluateLocation(subId, pc + 3 * cellPtId, wcoords, weights); |
| 2747 | outPtId = outPts->InsertNextPoint(wcoords); |
| 2748 | outPD->InterpolatePoint(input->GetPointData(), outPtId, cell->GetPointIds(), weights); |
| 2749 | this->PointMap[inPtId] = outPtId; |
| 2750 | this->RecordOrigPointId(outPtId, inPtId); |
| 2751 | } |
| 2752 | return outPtId; |
| 2753 | } |
| 2754 | |
| 2755 | //------------------------------------------------------------------------------ |
| 2756 | vtkIdType vtkDataSetSurfaceFilter::GetInterpolatedPointId(vtkIdType edgePtA, vtkIdType edgePtB, |
no test coverage detected