EBGeometry  1.0
Public Member Functions | Protected Attributes | List of all members
ReflectIF< T > Class Template Reference

Implicit function which is a reflection of another implicit function. More...

#include <EBGeometry_Transform.hpp>

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

Public Member Functions

 ReflectIF ()=delete
 Disallowed weak construction.
 
 ReflectIF (const std::shared_ptr< ImplicitFunction< T >> &a_implicitFunction, const size_t &a_reflectPlane) noexcept
 Full constructor. Reflects around the input plane (0=yz-plane, 1=xz-plane, 2=xy-plane). More...
 
virtual ~ReflectIF () noexcept
 Destructor.
 
virtual T value (const Vec3T< T > &a_point) const noexcept override
 Value function. More...
 
- Public Member Functions inherited from ImplicitFunction< T >
 ImplicitFunction ()=default
 Disallowed, use the full constructor.
 
virtual ~ImplicitFunction ()=default
 Destructor (does nothing)
 
operator() (const Vec3T< T > &a_point) const noexcept
 Alternative signature for the value function. More...
 
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. More...
 

Protected Attributes

std::shared_ptr< const ImplicitFunction< T > > m_implicitFunction
 Underlying implicit function to be reflected.
 
Vec3T< T > m_reflectParams
 Reflection parameters.
 

Detailed Description

template<class T>
class ReflectIF< T >

Implicit function which is a reflection of another implicit function.

Constructor & Destructor Documentation

◆ ReflectIF()

template<class T >
ReflectIF< T >::ReflectIF ( const std::shared_ptr< ImplicitFunction< T >> &  a_implicitFunction,
const size_t &  a_reflectPlane 
)
noexcept

Full constructor. Reflects around the input plane (0=yz-plane, 1=xz-plane, 2=xy-plane).

Parameters
[in]a_implicitFunctionImplicit function to be reflected
[in]a_reflectPlanePlane to reflect across

Member Function Documentation

◆ value()

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

Value function.

Parameters
[in]a_pointinput point

Implements ImplicitFunction< T >.


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