EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
EBGeometry::DistanceQualityOf< P, class > Struct Template Reference

The distance quality of a type: its static distanceQuality member if it has one, and DistanceQuality::Bound otherwise. More...

#include <EBGeometry_DistanceQuality.hpp>

Static Public Attributes

static constexpr DistanceQuality value = DistanceQuality::Bound
 The type's distance quality.
 

Detailed Description

template<class P, class = void>
struct EBGeometry::DistanceQualityOf< P, class >

The distance quality of a type: its static distanceQuality member if it has one, and DistanceQuality::Bound otherwise.

A type without the member is taken to be a distance bound. A user type whose value is not a distance should declare static constexpr DistanceQuality distanceQuality = DistanceQuality::NotADistance;, so that an expression, a fused composition or a BVH union built from it reports the same.

Template Parameters
PType to inspect.

The documentation for this struct was generated from the following file: