|
EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
|
Implicit function which is an elongation of another implicit function along each axis. More...
#include <EBGeometry_Transform.hpp>


Public Member Functions | |
| ElongateIF ()=delete | |
| Disallowed weak construction. | |
| ElongateIF (const ElongateIF &a_other) noexcept=default | |
| Copy constructor. | |
| ElongateIF (ElongateIF &&a_other) noexcept=default | |
| Move constructor. | |
| ElongateIF (const std::shared_ptr< ImplicitFunction< T > > &a_implicitFunction, const Vec3T< T > &a_elongation) noexcept | |
| Full constructor. | |
| ~ElongateIF () override=default | |
| Destructor. | |
| ElongateIF & | operator= (const ElongateIF &a_other) noexcept=default |
| Copy assignment operator. | |
| ElongateIF & | operator= (ElongateIF &&a_other) noexcept=default |
| Move assignment operator. | |
| T | value (const Vec3T< T > &a_point) const noexcept override |
| Value function. | |
Public Member Functions inherited from EBGeometry::ImplicitFunction< T > | |
| ImplicitFunction ()=default | |
| Default constructor. | |
| virtual | ~ImplicitFunction ()=default |
| Default destructor. | |
| T | operator() (const Vec3T< T > &a_point) const noexcept |
| Call operator — 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 |
| Compute an approximation to the bounding volume for the implicit surface using octree subdivision. | |
Protected Attributes | |
| std::shared_ptr< const ImplicitFunction< T > > | m_implicitFunction = nullptr |
| Underlying implicit function to be elongated. | |
| Vec3T< T > | m_elongation |
| Elongation. | |
Implicit function which is an elongation of another implicit function along each axis.
Elongation clamps the query point component-wise to [-elongation, +elongation] and subtracts the clamped value before evaluating the wrapped function — effectively stretching the shape without changing its cross-section profile.
| T | Floating-point precision |
|
defaultnoexcept |
Copy constructor.
| [in] | a_other | Other ElongateIF. |
|
defaultnoexcept |
Move constructor.
| [in,out] | a_other | Other ElongateIF. |
|
noexcept |
Full constructor.
| [in] | a_implicitFunction | Implicit function to be stretched |
| [in] | a_elongation | Per-axis elongation amounts (non-negative values expected) |
|
defaultnoexcept |
|
defaultnoexcept |
|
overridevirtualnoexcept |
Value function.
| [in] | a_point | Query point |
Implements EBGeometry::ImplicitFunction< T >.