ENH: improve edge access for face/triFace

- additional rcEdge(), rcEdges() methods for reverse order walk

- accept generic edge() method as alternative to faceEdge() for
  single edge retrieval.

- edge() method with points -> returns the vector

- reduce the number of operations in edgeDirection methods

DEFEATURE: remove longestEdge global function

- deprecated and replaced by face::longestEdge() method (2017-04)
This commit is contained in:
Mark Olesen
2021-05-01 16:09:48 +02:00
parent 5eb48c443a
commit 8eef91c5e2
13 changed files with 412 additions and 219 deletions

View File

@ -134,7 +134,7 @@ void Foam::cuttingSurfaceBase::walkCellCuts
forAll(f, fp)
{
edge e(f.faceEdge(fp));
edge e(f.edge(fp));
// Action #1: Orient edge (+ve gradient) and detect intersect
if (!edgeOrientIntersect(e))