#include <fcylinderregion.h>
Public Member Functions | |
FCylinderRegion (Point3D C0, double radius, double height, double value) | |
virtual double | operator() (const VecDouble &p, const unsigned int component=0) const |
virtual bool | isInDomain (const VecDouble &p, unsigned component=0) const |
~FCylinderRegion () | |
Private Attributes | |
Point3D | C0 |
double | radius |
double | height |
double | _value |
FCylinderRegion defines a cilinder region aligned in the Z direction
Definition at line 9 of file fcylinderregion.h.
FCylinderRegion::FCylinderRegion | ( | Point3D | C0, | |
double | radius, | |||
double | height, | |||
double | value | |||
) |
The cilinder is specified by a 3D Point specifying the bottom central point of the cilinder, the radius of it and its height. The height can be set to infinity
X0 | ||
Y0 | ||
radius | ||
height |
Definition at line 12 of file fcylinderregion.cpp.
FCylinderRegion::~FCylinderRegion | ( | ) | [inline] |
Definition at line 23 of file fcylinderregion.h.
virtual bool FCylinderRegion::isInDomain | ( | const VecDouble & | p, | |
unsigned | component = 0 | |||
) | const [virtual] |
Reimplemented from GeneralFunctionInterface.
double FCylinderRegion::operator() | ( | const VecDouble & | p, | |
const unsigned int | component = 0 | |||
) | const [virtual] |
Implements GeneralFunctionInterface.
Definition at line 20 of file fcylinderregion.cpp.
00021 { 00022 return _value; 00023 }
double FCylinderRegion::_value [private] |
Definition at line 15 of file fcylinderregion.h.
Point3D FCylinderRegion::C0 [private] |
Definition at line 12 of file fcylinderregion.h.
double FCylinderRegion::height [private] |
Definition at line 14 of file fcylinderregion.h.
double FCylinderRegion::radius [private] |
Definition at line 13 of file fcylinderregion.h.