------------------------------------------------------------------------------
| 2754 | |
| 2755 | //------------------------------------------------------------------------------ |
| 2756 | vtkIdType vtkDataSetSurfaceFilter::GetInterpolatedPointId(vtkIdType edgePtA, vtkIdType edgePtB, |
| 2757 | vtkDataSet* input, vtkCell* cell, double* pcoords, double* weights, vtkPoints* outPts, |
| 2758 | vtkPointData* outPD) |
| 2759 | { |
| 2760 | vtkIdType outPtId = this->EdgeMap->FindEdge(edgePtA, edgePtB); |
| 2761 | if (outPtId == -1) |
| 2762 | { |
| 2763 | int subId = -1; |
| 2764 | double wcoords[3]; |
| 2765 | cell->EvaluateLocation(subId, pcoords, wcoords, weights); |
| 2766 | outPtId = outPts->InsertNextPoint(wcoords); |
| 2767 | outPD->InterpolatePoint(input->GetPointData(), outPtId, cell->GetPointIds(), weights); |
| 2768 | this->RecordOrigPointId(outPtId, -1); |
| 2769 | this->EdgeMap->AddEdge(edgePtA, edgePtB, outPtId); |
| 2770 | } |
| 2771 | return outPtId; |
| 2772 | } |
| 2773 | |
| 2774 | vtkIdType vtkDataSetSurfaceFilter::GetInterpolatedPointId(vtkDataSet* input, vtkCell* cell, |
| 2775 | double pcoords[3], double* weights, vtkPoints* outPts, vtkPointData* outPD) |
no test coverage detected