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

Offset implicit function. Offsets the implicit function using the input value. More...

#include <EBGeometry_Transform.hpp>

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

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. More...
 
virtual ~OffsetIF ()
 Destructor.
 
virtual T value (const Vec3T< T > &a_point) const noexcept override
 Implementation of value function with offset.
 
- 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< ImplicitFunction< T > > m_implicitFunction
 Underlying implicit function.
 
m_offset
 Offset value.
 

Detailed Description

template<class T>
class OffsetIF< T >

Offset implicit function. Offsets the implicit function using the input value.

Constructor & Destructor Documentation

◆ OffsetIF()

template<class T >
OffsetIF< T >::OffsetIF ( const std::shared_ptr< ImplicitFunction< T >> &  a_implicitFunction,
const T  a_offset 
)
noexcept

Rounded SDF. Rounds the input SDF.

Parameters
[in]a_implicitFunctionInput implicit function.
[in]a_offsetOffset value.

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