EBGeometry 1.0
|
Offset implicit function. Offsets the implicit function using the input value. More...
#include <EBGeometry_Transform.hpp>
Public Member Functions | |
OffsetIF ()=delete | |
Disallowed weak construction. | |
OffsetIF (const std::shared_ptr< ImplicitFunction< T > > &a_implicitFunction, const T a_offset) noexcept | |
Rounded SDF. Rounds the input SDF. | |
virtual | ~OffsetIF () |
Destructor. | |
virtual T | value (const Vec3T< T > &a_point) const noexcept override |
Implementation of value function with offset. | |
![]() | |
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. | |
T | m_offset |
Offset value. | |
Offset implicit function. Offsets the implicit function using the input value.
|
noexcept |
Rounded SDF. Rounds the input SDF.
[in] | a_implicitFunction | Input implicit function. |
[in] | a_offset | Offset value. |
Implementation of value function with offset.
Implements ImplicitFunction< T >.