OGS
EdgeReturn.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 namespace MeshLib
14 {
15 
16 class Element;
17 
20 {
21 public:
23  static const Element* getEdge(const Element* /*e*/, unsigned /*i*/)
24  {
25  return nullptr;
26  }
27 };
28 
31 {
32 public:
34  static const Element* getEdge(const Element* e, unsigned i);
35 };
36 
39 {
40 public:
42  static const Element* getEdge(const Element* e, unsigned i);
43 };
44 
45 } // namespace MeshLib
Returns linear order edge.
Definition: EdgeReturn.h:31
static const Element * getEdge(const Element *e, unsigned i)
Returns i-th edge of the given element.
Definition: EdgeReturn.cpp:20
Returns always null pointer.
Definition: EdgeReturn.h:20
static const Element * getEdge(const Element *, unsigned)
Returns i-th edge of the given element.
Definition: EdgeReturn.h:23
Returns quadratic order edge.
Definition: EdgeReturn.h:39
static const Element * getEdge(const Element *e, unsigned i)
Returns i-th edge of the given element.
Definition: EdgeReturn.cpp:33