A box with rounded corners and edges.
More...
#include <CD_RoundedBoxIF.H>
|
|
| RoundedBoxIF ()=delete |
| | Disallowed weak construction.
|
| |
| | RoundedBoxIF (const RealVect &a_loCorner, const RealVect &a_hiCorner, const Real a_curvature, const bool a_fluidInside) |
| | Constructor.
|
| |
| | RoundedBoxIF (const RoundedBoxIF &a_inputIF) |
| | Copy constructor.
|
| |
|
virtual | ~RoundedBoxIF () |
| | Destructor.
|
| |
| virtual Real | value (const RealVect &a_point) const override |
| | Get distance to object.
|
| |
| virtual BaseIF * | newImplicitFunction () const override |
| | IF factory method.
|
| |
|
|
bool | m_fluidInside |
| | Fluid on inside or not.
|
| |
|
RefCountedPtr< BaseIF > | m_baseIF |
| | Implicit function (which is union between planes)
|
| |
A box with rounded corners and edges.
◆ RoundedBoxIF() [1/2]
| RoundedBoxIF::RoundedBoxIF |
( |
const RealVect & |
a_loCorner, |
|
|
const RealVect & |
a_hiCorner, |
|
|
const Real |
a_curvature, |
|
|
const bool |
a_fluidInside |
|
) |
| |
Constructor.
- Parameters
-
| [in] | a_loCorner | Upper right corner of the object |
| [in] | a_hiCorner | Lower left corner of the object |
| [in] | a_curvature | Radius of curvature on edges and corners |
| [in] | a_fluidInside | Fluid on inside (true) or outside (false) |
◆ RoundedBoxIF() [2/2]
| RoundedBoxIF::RoundedBoxIF |
( |
const RoundedBoxIF & |
a_inputIF | ) |
|
Copy constructor.
- Parameters
-
◆ newImplicitFunction()
| BaseIF * RoundedBoxIF::newImplicitFunction |
( |
| ) |
const |
|
overridevirtual |
IF factory method.
- Returns
- New copy of this implicit function
◆ value()
| Real RoundedBoxIF::value |
( |
const RealVect & |
a_point | ) |
const |
|
overridevirtual |
Get distance to object.
- Parameters
-
| [in] | a_point | Physical position. |
- Returns
- Function value at the given point
The documentation for this class was generated from the following files: