EBGeometry
1.0
|
CSG difference between two implicit functions. More...
#include <EBGeometry_CSG.hpp>
Public Member Functions | |
DifferenceIF ()=delete | |
Disallowed, use the full constructor. | |
DifferenceIF (const std::shared_ptr< ImplicitFunction< T >> &a_implicitFunctionA, const std::shared_ptr< ImplicitFunction< T >> &a_implicitFunctionB) noexcept | |
Full constructor. Computes the CSG difference. More... | |
DifferenceIF (const std::shared_ptr< ImplicitFunction< T >> &a_implicitFunctionA, const std::vector< std::shared_ptr< ImplicitFunction< T >>> &a_implicitFunctionsB) noexcept | |
Full constructor. Computes the CSG difference between A and the union of the B's. More... | |
virtual | ~DifferenceIF ()=default |
Destructor (does nothing) | |
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) | |
T | 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< ImplicitFunction< T > > | m_implicitFunctionA |
First implicit function. | |
std::shared_ptr< ImplicitFunction< T > > | m_implicitFunctionB |
Subtracted implicit function. | |
CSG difference between two implicit functions.
|
noexcept |
Full constructor. Computes the CSG difference.
[in] | a_implicitFunctionA | Implicit function |
[in] | a_implicitFunctionB | Implicit function to subtract |
|
noexcept |
Full constructor. Computes the CSG difference between A and the union of the B's.
[in] | a_implicitFunctionA | Implicit function |
[in] | a_implicitFunctionsB | Implicit functions to subtract |
|
overridevirtualnoexcept |