#include <TiltedCylinderIF.H>
Public Member Functions | |
TiltedCylinderIF (const Real &a_radius, const RealVect &a_direction, const RealVect &a_point, const bool &a_inside) | |
TiltedCylinderIF (const TiltedCylinderIF &a_inputIF) | |
Copy constructor. | |
virtual | ~TiltedCylinderIF () |
Destructor. | |
virtual void | GetParams (Real &a_radius, RealVect &a_direction, RealVect &a_point, bool &a_inside) const |
virtual void | SetParams (const Real &a_radius, const RealVect &a_direction, const RealVect &a_point, const bool &a_inside) |
virtual Real | value (const RealVect &a_point) const |
virtual BaseIF * | newImplicitFunction () const |
virtual bool | fastIntersection (const RealVect &a_low, const RealVect &a_high) const |
virtual GeometryService::InOut | InsideOutside (const RealVect &a_low, const RealVect &a_high) const |
Protected Attributes | |
Real | m_radius |
RealVect | m_direction |
bool | m_tiltedAxis |
int | m_coordDir |
RealVect | m_point |
bool | m_inside |
Real | m_radius2 |
Real | m_length2 |
Private Member Functions | |
TiltedCylinderIF () | |
void | operator= (const TiltedCylinderIF &a_inputIF) |
TiltedCylinderIF::TiltedCylinderIF | ( | const Real & | a_radius, | |
const RealVect & | a_direction, | |||
const RealVect & | a_point, | |||
const bool & | a_inside | |||
) |
Constructor specifying cylinder radius (a_radius), direction of the axis (a_direction), a point on the axis (a_point), and whether the domain is on the inside (a_inside).
TiltedCylinderIF::TiltedCylinderIF | ( | const TiltedCylinderIF & | a_inputIF | ) |
Copy constructor.
virtual TiltedCylinderIF::~TiltedCylinderIF | ( | ) | [virtual] |
Destructor.
TiltedCylinderIF::TiltedCylinderIF | ( | ) | [inline, private] |
References MayDay::Abort().
virtual void TiltedCylinderIF::GetParams | ( | Real & | a_radius, | |
RealVect & | a_direction, | |||
RealVect & | a_point, | |||
bool & | a_inside | |||
) | const [virtual] |
Return the parameter information
virtual void TiltedCylinderIF::SetParams | ( | const Real & | a_radius, | |
const RealVect & | a_direction, | |||
const RealVect & | a_point, | |||
const bool & | a_inside | |||
) | [virtual] |
Set the parameter information
Return the value of the function at a_point.
Implements BaseIF.
virtual BaseIF* TiltedCylinderIF::newImplicitFunction | ( | ) | const [virtual] |
Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.
Implements BaseIF.
virtual GeometryService::InOut TiltedCylinderIF::InsideOutside | ( | const RealVect & | a_low, | |
const RealVect & | a_high | |||
) | const [virtual] |
Reimplemented from BaseIF.
void TiltedCylinderIF::operator= | ( | const TiltedCylinderIF & | a_inputIF | ) | [inline, private] |
References MayDay::Abort().
Real TiltedCylinderIF::m_radius [protected] |
RealVect TiltedCylinderIF::m_direction [protected] |
bool TiltedCylinderIF::m_tiltedAxis [protected] |
Referenced by fastIntersection().
int TiltedCylinderIF::m_coordDir [protected] |
RealVect TiltedCylinderIF::m_point [protected] |
bool TiltedCylinderIF::m_inside [protected] |
Real TiltedCylinderIF::m_radius2 [protected] |
Real TiltedCylinderIF::m_length2 [protected] |