ENH: face::connected() method

- return true if two faces share a common vertex.

  Same idea as the existing edge::connected() method
  (previously spelled 'connects()')
This commit is contained in:
Mark Olesen
2022-11-01 17:24:36 +01:00
committed by Andrew Heather
parent d3e285b48b
commit e4139898d2
8 changed files with 70 additions and 78 deletions

View File

@ -67,7 +67,7 @@ int main(int argc, char *argv[])
Info<<"collapse? -> " << e4.collapse() << endl;
printInfo(e4);
Info<< e3 << " connects " << e2 << " => " << e2.connects(e3) << endl;
Info<< e3 << " connects " << e2 << " => " << e2.connected(e3) << endl;
labelPair labels(e3);