------------------------------------------------------------------------------ Instantiate cell from outside
| 106 | // Instantiate cell from outside |
| 107 | // |
| 108 | void vtkCell::Initialize(int npts, const vtkIdType* pts, vtkPoints* p) |
| 109 | { |
| 110 | this->PointIds->Reset(); |
| 111 | this->Points->Reset(); |
| 112 | |
| 113 | for (int i = 0; i < npts; i++) |
| 114 | { |
| 115 | this->PointIds->InsertId(i, pts[i]); |
| 116 | this->Points->InsertPoint(i, p->GetPoint(pts[i])); |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | //------------------------------------------------------------------------------ |
| 121 | // Instantiate cell from outside. A simplified version of |
no test coverage detected