18 #include <RefCountedPtr.H>
21 #include <CD_NamespaceHeader.H>
39 const Real& a_tipRadius,
41 const bool& a_flipInside);
54 value(
const RealVect& a_point)
const override;
74 #include <CD_NamespaceFooter.H>
Cylinder with one pointed end and one circular end.
Definition: CD_NeedleIF.H:27
RefCountedPtr< BaseIF > m_implicitFunction
Base implicit function. This is a union between a cylinder and a cone.
Definition: CD_NeedleIF.H:66
NeedleIF(const Real &a_length, const Real &a_radius, const Real &a_tipRadius, const Real &a_angle, const bool &a_flipInside)
Constructor.
Definition: CD_NeedleIF.cpp:23
virtual Real value(const RealVect &a_point) const override
Value function. Returns distance to object.
Definition: CD_NeedleIF.cpp:66
Real m_tipRadius
curvature-radius of needle tip
Definition: CD_NeedleIF.H:71
virtual BaseIF * newImplicitFunction() const override
IF factory method.
Definition: CD_NeedleIF.cpp:75