mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
output face name on double click
This commit is contained in:
parent
a1c9483270
commit
c14c798235
@ -3283,7 +3283,12 @@ namespace netgen
|
||||
if(locpi < 0)
|
||||
{
|
||||
cout << endl << "select element " << selelement
|
||||
<< " on face " << sel.GetIndex() << endl;
|
||||
<< " on face " << sel.GetIndex();
|
||||
// output face name
|
||||
auto name = GetMesh()->GetFaceDescriptor(sel.GetIndex()).GetBCName();
|
||||
if(name != "")
|
||||
cout << " with name " << name;
|
||||
cout << endl;
|
||||
cout << "\tpoint: " << p << endl;;
|
||||
cout << "\tnodes: ";
|
||||
for (int i = 1; i <= sel.GetNP(); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user