71#ifndef edgeFaceCirculator_H
72#define edgeFaceCirculator_H
89class edgeFaceCirculator
100 bool isBoundaryEdge_;
110 label startFaceLabel_;
119 inline void setEnd();
122 inline void setFace(
const label facei,
const label celli);
125 inline void otherFace(
const label celli);
128 inline edgeFaceCirculator();
136 inline edgeFaceCirculator
142 const bool isBoundaryEdge
146 inline edgeFaceCirculator(
const edgeFaceCirculator& circ);
168 inline label
index()
const;
176 inline bool sameOrder(
const label v0,
const label v1)
const;
186 inline void operator=(
const edgeFaceCirculator& iter);
188 inline bool operator==(
const edgeFaceCirculator& iter)
const;
190 inline bool operator!=(
const edgeFaceCirculator& iter)
const;
198 inline edgeFaceCirculator
begin()
const;
199 inline edgeFaceCirculator
cbegin()
const;
202 inline const edgeFaceCirculator
end()
const;
203 inline const edgeFaceCirculator
cend()
const;
Various functions to operate on Lists.
void operator=(const edgeFaceCirculator &iter)
edgeFaceCirculator & operator++()
Step to next face. Uses no edge addressing!
bool isInternalFace() const
Return true if the face label corresponds to an internal face.
bool sameOrder(const label v0, const label v1) const
Helper: return true if normal of generated face points along.
label faceLabel() const
Return the face label, -1 for end iterator.
const edgeFaceCirculator cend() const
label cellLabel() const
Helper: get the neighbouring cell according to the ownerSide.
void setCanonical()
Set edge to a unique state so different ones can be compared.
static label getMinIndex(const face &f, const label v0, const label v1)
Helper: find index in face of edge or -1. Index is such that edge is.
edgeFaceCirculator cbegin() const
edgeFaceCirculator begin() const
Iterator set to the beginning face. For internal edges this is.
bool operator!=(const edgeFaceCirculator &iter) const
bool operator==(const edgeFaceCirculator &iter) const
const edgeFaceCirculator end() const
Iterator set to beyond the end of the walk.
A face is a list of labels corresponding to mesh vertices.
Cell-face mesh analysis engine.