EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Variables
EBGeometry_DistanceQuality.hpp File Reference

How far a function's value can be trusted as a distance: DistanceQuality, and the distanceQualityOf trait that reads it from a type. More...

#include <type_traits>
Include dependency graph for EBGeometry_DistanceQuality.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EBGeometry::DistanceQualityOf< P, class >
 The distance quality of a type: its static distanceQuality member if it has one, and DistanceQuality::Bound otherwise. More...
 
struct  EBGeometry::DistanceQualityOf< P, std::void_t< decltype(P::distanceQuality)> >
 The distance quality of a type that declares one. More...
 

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 

Enumerations

enum class  EBGeometry::DistanceQuality { EBGeometry::Exact , EBGeometry::Bound , EBGeometry::NotADistance }
 How far the value of a signed distance function can be trusted, from strongest to weakest. More...
 

Variables

template<class P >
constexpr DistanceQuality EBGeometry::distanceQualityOf = DistanceQualityOf<P>::value
 Shorthand for the value of DistanceQualityOf.
 

Detailed Description

How far a function's value can be trusted as a distance: DistanceQuality, and the distanceQualityOf trait that reads it from a type.

Author
Robert Marskar