CellSet KeyFace::spatialBoundary() const { CellSet res; for(int i=0; i<cycles_.size(); ++i) { CellSet cells = cycles_[i].cells(); res.unite(cells); } return res; }
CellSet EdgeCell::spatialBoundary() const { if(isClosed()) { return CellSet(); } else { CellSet left = startVertices(); CellSet right = endVertices(); left.unite(right); return left; } }