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

Inifinitely long cylinder class. Oriented along the y-axis. More...

#include <EBGeometry_AnalyticDistanceFunctions.hpp>

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

Public Member Functions

 InfiniteCylinderSDF ()=delete
 No weak construction.
 
 InfiniteCylinderSDF (const Vec3T< T > &a_center, const T &a_radius, const size_t a_axis) noexcept
 Full constructor. More...
 
virtual T signedDistance (const Vec3T< T > &a_point) const noexcept override
 Signed distance function. More...
 
- Public Member Functions inherited from SignedDistanceFunction< T >
 SignedDistanceFunction ()=default
 Disallowed, use the full constructor.
 
virtual ~SignedDistanceFunction ()=default
 Destructor (does nothing)
 
virtual T value (const Vec3T< T > &a_point) const noexcept override final
 Implementation of ImplicitFunction::value. More...
 
virtual Vec3T< T > normal (const Vec3T< T > &a_point, const T &a_delta) const noexcept
 Signed distance normal vector. 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

Vec3T< T > m_center
 Cylinder center.
 
m_radius
 Cylinder radius.
 
size_t m_axis
 Axis.
 

Detailed Description

template<class T>
class InfiniteCylinderSDF< T >

Inifinitely long cylinder class. Oriented along the y-axis.

Constructor & Destructor Documentation

◆ InfiniteCylinderSDF()

template<class T >
InfiniteCylinderSDF< T >::InfiniteCylinderSDF ( const Vec3T< T > &  a_center,
const T &  a_radius,
const size_t  a_axis 
)
inlinenoexcept

Full constructor.

Parameters
[in]a_centerCenter point for the cylinder.
[in]a_radiusCylinder radius.
[in]a_axisCylinder axis.

Member Function Documentation

◆ signedDistance()

template<class T >
virtual T InfiniteCylinderSDF< T >::signedDistance ( const Vec3T< T > &  a_point) const
inlineoverridevirtualnoexcept

Signed distance function.

Parameters
[in]a_pointPosition.

Implements SignedDistanceFunction< T >.


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