Mesh: [skip ci] rename MeshAlgorithm::GetMeshBorder to MeshAlgorithm::GetFacetBorder
This commit is contained in:
@@ -421,7 +421,7 @@ void MeshAlgorithm::GetFacetBorders (const std::vector<FacetIndex> &raulInd,
|
||||
}
|
||||
}
|
||||
|
||||
void MeshAlgorithm::GetMeshBorder(FacetIndex uFacet, std::list<PointIndex>& rBorder) const
|
||||
void MeshAlgorithm::GetFacetBorder(FacetIndex uFacet, std::list<PointIndex>& rBorder) const
|
||||
{
|
||||
const MeshFacetArray &rFAry = _rclMesh._aclFacetArray;
|
||||
std::list<std::pair<PointIndex, PointIndex> > openEdges;
|
||||
|
||||
@@ -154,7 +154,7 @@ public:
|
||||
* Returns the boundary of the mesh to the facet \a uFacet. If this facet does not have an open edge the returned
|
||||
* boundary is empty.
|
||||
*/
|
||||
void GetMeshBorder(FacetIndex uFacet, std::list<PointIndex>& rBorder) const;
|
||||
void GetFacetBorder(FacetIndex uFacet, std::list<PointIndex>& rBorder) const;
|
||||
/**
|
||||
* Boundaries that consist of several loops must be split in several independent boundaries
|
||||
* to perform e.g. a polygon triangulation algorithm on them.
|
||||
|
||||
@@ -1257,7 +1257,7 @@ void MeshFixPointOnEdge::FindBoundaries(std::list<std::vector<PointIndex> >& bor
|
||||
if (!tmp.empty()) {
|
||||
//TODO: Implement a method to handle all facets in 'tmp'
|
||||
std::list<PointIndex> border;
|
||||
meshalg.GetMeshBorder(tmp.front(), border);
|
||||
meshalg.GetFacetBorder(tmp.front(), border);
|
||||
if (!border.empty()) {
|
||||
borderList.emplace_back(border.begin(), border.end());
|
||||
}
|
||||
|
||||
@@ -1787,7 +1787,7 @@ void ViewProviderMesh::fillHole(Mesh::FacetIndex uFacet)
|
||||
const MeshCore::MeshKernel& rKernel = fea->Mesh.getValue().getKernel();
|
||||
MeshCore::MeshRefPointToFacets cPt2Fac(rKernel);
|
||||
MeshCore::MeshAlgorithm meshAlg(rKernel);
|
||||
meshAlg.GetMeshBorder(uFacet, aBorder);
|
||||
meshAlg.GetFacetBorder(uFacet, aBorder);
|
||||
std::vector<Mesh::PointIndex> boundary(aBorder.begin(), aBorder.end());
|
||||
std::list<std::vector<Mesh::PointIndex> > boundaries;
|
||||
boundaries.push_back(boundary);
|
||||
|
||||
Reference in New Issue
Block a user