Revision 1e6f0ea846ee7ab647da03e18e433f7492b50c99 authored by Lars Bilke on 28 August 2023, 07:30:24 UTC, committed by Lars Bilke on 28 August 2023, 12:37:59 UTC
1 parent 8bce88f
EdgeReturn.h
/**
* \file
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
namespace MeshLib
{
class Element;
/// Returns always null pointer
class NoEdgeReturn
{
public:
/// Returns i-th edge of the given element
static const Element* getEdge(const Element* /*e*/, unsigned /*i*/)
{
return nullptr;
}
};
/// Returns linear order edge
class LinearEdgeReturn
{
public:
/// Returns i-th edge of the given element
static const Element* getEdge(const Element* e, unsigned i);
};
/// Returns quadratic order edge
class QuadraticEdgeReturn
{
public:
/// Returns i-th edge of the given element
static const Element* getEdge(const Element* e, unsigned i);
};
} // namespace MeshLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...