mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -6,7 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
Copyright (C) 2019 OpenCFD Ltd.
|
||||
Copyright (C) 2019-2021 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -84,7 +84,7 @@ Foam::label Foam::surfaceIntersection::getEdge
|
||||
const label fp
|
||||
)
|
||||
{
|
||||
const edge faceEdge = surf.localFaces()[facei].faceEdge(fp);
|
||||
const edge faceEdge = surf.localFaces()[facei].edge(fp);
|
||||
|
||||
const labelList& eLabels = surf.faceEdges()[facei];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user