Revision 56d7ca1427df3a0e0d624a8482fe8b13de1e1bb5 authored by Thomas Fischer on 15 June 2021, 06:59:27 UTC, committed by Thomas Fischer on 18 June 2021, 12:35:59 UTC
1 parent 3051e05
EdgeRatioMetric.h
/**
* \file
* \author Thomas Fischer
* \date 2011-03-03
* \brief Definition of the EdgeRatioMetric class.
*
* \copyright
* Copyright (c) 2012-2021, 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
#include "ElementQualityMetric.h"
#include "MathLib/Point3d.h"
namespace MeshLib
{
/**
* Calculates the quality of mesh elements based on the ratio between shortest and longest edge of an element
*/
class EdgeRatioMetric final : public ElementQualityMetric
{
public:
explicit EdgeRatioMetric(Mesh const& mesh);
~EdgeRatioMetric() override = default;
void calculateQuality() override;
};
} // namespace MeshLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...