Toponaming/Part: Fix fillet/pad bug, add tests

This commit is contained in:
bgbsww
2024-05-07 09:40:48 -04:00
parent 3de35c9818
commit 3ee0530ac2
4 changed files with 282 additions and 7 deletions

View File

@@ -681,5 +681,20 @@ bool ComplexGeoData::hasChildElementMap() const
return _elementMap && _elementMap->hasChildElementMap();
}
void ComplexGeoData::dumpElementMap(std::ostream& stream) const
{
auto map = getElementMap();
std::sort(map.begin(), map.end());
for ( auto element : map ) {
stream << element.index << " : " << element.name << std::endl;
}
}
const std::string ComplexGeoData::dumpElementMap() const
{
std::stringstream ss;
dumpElementMap(ss);
return ss.str();
}
// NOLINTEND(cppcoreguidelines-pro-bounds-pointer-arithmetic)