13#ifndef CD_PERLINPLANESDF_H
14#define CD_PERLINPLANESDF_H
20#include <CD_NamespaceHeader.H>
42 const RealVect& a_point,
44 const Real a_noiseAmp,
45 const RealVect& a_noiseFreq,
46 const Real a_persistence,
48 const bool a_reseed =
false);
66 value(
const RealVect& a_pos)
const;
97#include <CD_NamespaceFooter.H>
RealVect m_point
Plane point.
Definition CD_PerlinPlaneSdf.H:84
RealVect m_normal
Plane normal.
Definition CD_PerlinPlaneSdf.H:79
RefCountedPtr< BaseIF > m_perlin
Noise function.
Definition CD_PerlinPlaneSdf.H:94
virtual ~PerlinPlaneSdf()
Destructor (does nothing).
RefCountedPtr< BaseIF > m_plane
BaseIF function for a plane without noise.
Definition CD_PerlinPlaneSdf.H:89
PerlinPlaneSdf(const RealVect &a_normal, const RealVect &a_point, const bool a_inside, const Real a_noiseAmp, const RealVect &a_noiseFreq, const Real a_persistence, const int a_octaves, const bool a_reseed=false)
Full constructor.
Definition CD_PerlinPlaneSdf.cpp:22
virtual Real value(const RealVect &a_pos) const
Value function.
Definition CD_PerlinPlaneSdf.cpp:52
virtual BaseIF * newImplicitFunction() const
Factory method.
Definition CD_PerlinPlaneSdf.cpp:65