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

Scaled implicit function. More...

#include <EBGeometry_Transform.hpp>

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

Public Member Functions

 ScaleIF ()=delete
 Disallowed weak construction.
 
 ScaleIF (const std::shared_ptr< ImplicitFunction< T >> &a_implicitFunction, const T a_scale) noexcept
 Scaled implicit function. More...
 
virtual ~ScaleIF () noexcept
 Destructor.
 
virtual 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)
 
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
 Original implicit function.
 
m_scale
 Scaling factor.
 

Detailed Description

template<class T>
class ScaleIF< T >

Scaled implicit function.

Constructor & Destructor Documentation

◆ ScaleIF()

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

Scaled implicit function.

Parameters
[in]a_implicitFunctionImplicit function to be scaled.
[in]a_scaleScaling factor.

Member Function Documentation

◆ value()

template<class T >
virtual T ScaleIF< T >::value ( const Vec3T< T > &  a_point) const
overridevirtualnoexcept

Value function.

Parameters
[in]a_pointInput point.

Implements ImplicitFunction< T >.


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