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

The blend operators that smooth unions, intersections and differences use: ExpMinOp, ExpMaxOp, SmoothMinOp, SmoothMaxOp and their constexpr instances. More...

#include <cmath>
#include <type_traits>
#include "EBGeometry_GPU.hpp"
#include "EBGeometry_Macros.hpp"
#include "EBGeometry_Math.hpp"
Include dependency graph for EBGeometry_Blend.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EBGeometry::ExpMinOp< T >
 Exponential smooth minimum for blending two signed-distance values. More...
 
struct  EBGeometry::ExpMaxOp< T >
 Exponential smooth maximum for blending two signed-distance values. More...
 
struct  EBGeometry::SmoothMinOp< T >
 Quadratic polynomial smooth minimum for blending two signed-distance values. More...
 
struct  EBGeometry::SmoothMaxOp< T >
 Quadratic polynomial smooth maximum for blending two signed-distance values. More...
 

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 

Variables

template<class T >
constexpr ExpMinOp< T > EBGeometry::ExpMin {}
 The exponential smooth minimum, as a ready-made function object: ExpMin<T>(a, b, s).
 
template<class T >
constexpr ExpMaxOp< T > EBGeometry::ExpMax {}
 The exponential smooth maximum, as a ready-made function object: ExpMax<T>(a, b, s).
 
template<class T >
constexpr SmoothMinOp< T > EBGeometry::SmoothMin {}
 The polynomial smooth minimum, as a ready-made function object: SmoothMin<T>(a, b, s).
 
template<class T >
constexpr SmoothMaxOp< T > EBGeometry::SmoothMax {}
 The polynomial smooth maximum, as a ready-made function object: SmoothMax<T>(a, b, s).
 

Detailed Description

The blend operators that smooth unions, intersections and differences use: ExpMinOp, ExpMaxOp, SmoothMinOp, SmoothMaxOp and their constexpr instances.

Device-callable value types with no other dependency on the CSG layer.

Author
Robert Marskar