EBGeometry 1.0
|
Implicit function which is a reflection of another implicit function. More...
#include <EBGeometry_Transform.hpp>
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). | |
virtual | ~ReflectIF () noexcept |
Destructor. | |
virtual T | value (const Vec3T< T > &a_point) const noexcept override |
Value function. | |
![]() | |
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< const ImplicitFunction< T > > | m_implicitFunction |
Underlying implicit function to be reflected. | |
Vec3T< T > | m_reflectParams |
Reflection parameters. | |
Implicit function which is a reflection of another implicit function.
|
noexcept |
Full constructor. Reflects around the input plane (0=yz-plane, 1=xz-plane, 2=xy-plane).
[in] | a_implicitFunction | Implicit function to be reflected |
[in] | a_reflectPlane | Plane to reflect across |