OGS
EdgeReturn.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6namespace MeshLib
7{
8
9class Element;
10
13{
14public:
16 static const Element* getEdge(const Element* /*e*/, unsigned /*i*/)
17 {
18 return nullptr;
19 }
20};
21
24{
25public:
27 static const Element* getEdge(const Element* e, unsigned i);
28};
29
32{
33public:
35 static const Element* getEdge(const Element* e, unsigned i);
36};
37
38} // namespace MeshLib
Returns linear order edge.
Definition EdgeReturn.h:24
static const Element * getEdge(const Element *e, unsigned i)
Returns i-th edge of the given element.
Returns always null pointer.
Definition EdgeReturn.h:13
static const Element * getEdge(const Element *, unsigned)
Returns i-th edge of the given element.
Definition EdgeReturn.h:16
Returns quadratic order edge.
Definition EdgeReturn.h:32
static const Element * getEdge(const Element *e, unsigned i)
Returns i-th edge of the given element.