EBGeometry 1.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
TranslateIF< T > Class Template Reference

Translated implicit function. More...

#include <EBGeometry_Transform.hpp>

Inheritance diagram for TranslateIF< T >:
Inheritance graph
[legend]
Collaboration diagram for TranslateIF< T >:
Collaboration graph
[legend]

Public Member Functions

 TranslateIF ()=delete
 No weak construction for this one.
 
 TranslateIF (const std::shared_ptr< ImplicitFunction< T > > &a_implicitFunction, const Vec3T< T > &a_shift) noexcept
 Full constructor.
 
virtual ~TranslateIF ()
 Destructor (does nothing)
 
virtual T value (const Vec3T< T > &a_point) const noexcept override
 Value function.
 
- Public Member Functions inherited from ImplicitFunction< T >
 ImplicitFunction ()=default
 Disallowed, use the full constructor.
 
virtual ~ImplicitFunction ()=default
 Destructor (does nothing)
 
T operator() (const Vec3T< T > &a_point) const noexcept
 Alternative signature for the value function.
 
template<class BV >
BV approximateBoundingVolumeOctree (const Vec3T< T > &a_initialLowCorner, const Vec3T< T > &a_initialHighCorner, const unsigned int a_maxTreeDepth, const T &a_safety=0.0) const noexcept
 Compute an approximation to the bounding volume for the implicit surface, using octrees.
 

Protected Attributes

std::shared_ptr< ImplicitFunction< T > > m_implicitFunction
 Underlying implicit function.
 
Vec3T< Tm_shift
 Input point translate.
 

Detailed Description

template<class T>
class TranslateIF< T >

Translated implicit function.

Constructor & Destructor Documentation

◆ TranslateIF()

template<class T >
TranslateIF< T >::TranslateIF ( const std::shared_ptr< ImplicitFunction< T > > &  a_implicitFunction,
const Vec3T< T > &  a_shift 
)
noexcept

Full constructor.

Parameters
[in]a_implicitFunctionInput implicit function to be translated
[in]a_shiftDistance to shift

Member Function Documentation

◆ value()

template<class T >
virtual T TranslateIF< T >::value ( const Vec3T< T > &  a_point) const
overridevirtualnoexcept

Value function.

Implements ImplicitFunction< T >.


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