|
QUGaR 0.1.3
|
Infinite cylinder. More...
#include <primitive_funcs_lib.hpp>
Public Member Functions | |
| Cylinder (real radius) | |
| Constructor. | |
| Cylinder (real radius, const Point< 3 > &origin) | |
| Constructor. | |
| Cylinder (real radius, const Point< 3 > &origin, const Point< 3 > &axis) | |
| Constructor. | |
Public Member Functions inherited from qugar::impl::funcs::CylinderBase | |
| CylinderBase (real radius, const Point< 3 > &origin, const Point< 3 > &axis) | |
| Constructor. | |
| real | radius () const |
| Gets the radius of the cylinder. | |
| const Point< 3 > & | origin () const |
| Gets the origin of the cylinder. | |
| const Point< 3 > & | axis () const |
| Gets the axis of the cylinder. | |
Public Member Functions inherited from qugar::impl::DomainFunc< dim, range > | |
| DomainFunc ()=default | |
| Default constructor. | |
| DomainFunc (const DomainFunc &)=default | |
| Default copy constructor. | |
| DomainFunc (DomainFunc &&)=default | |
| Default move constructor. | |
| DomainFunc & | operator= (const DomainFunc &)=default |
| Default copy assignment operator. | |
| DomainFunc & | operator= (DomainFunc &&)=default |
| Default move assignment operator. | |
| virtual | ~DomainFunc ()=default |
| Default virtual destructor. | |
| virtual Value< real > | operator() (const Point< dim > &point) const =0 |
| Evaluator operator. | |
| virtual Value< Interval< dim > > | operator() (const Point< dim, Interval< dim > > &point) const =0 |
| Evaluator operator. | |
| virtual Gradient< real > | grad (const Point< dim > &point) const =0 |
| Gradient evaluator operator. | |
| virtual Gradient< Interval< dim > > | grad (const Point< dim, Interval< dim > > &point) const =0 |
| Gradient evaluator operator. | |
| virtual Hessian< real > | hessian (const Point< dim > &point) const =0 |
| Hessian evaluator operator. | |
Public Attributes | |
| declare_impl_func_virtual_interface | |
Static Public Attributes | |
| static const int | dim = 3 |
Static Public Attributes inherited from qugar::impl::DomainFunc< dim, range > | |
| static const int | num_hessian = dim * (dim + 1) / 2 |
| Number of Hessian (symmetric) components. | |
Additional Inherited Members | |
Public Types inherited from qugar::impl::DomainFunc< dim, range > | |
| template<int N> | |
| using | Interval = ::algoim::Interval<N> |
| Algoim's interval alias. | |
| template<typename T > | |
| using | Value = std::conditional_t<range == 1, T, Vector<T, range>> |
| Value type. | |
| template<typename T > | |
| using | Gradient = Vector<Value<T>, dim> |
| Gradient type. | |
| template<typename T > | |
| using | Hessian = Vector<Value<T>, num_hessian> |
| Hessian (symmetric type). | |
Static Protected Member Functions inherited from qugar::impl::funcs::CylinderBase | |
| static Point< 3 > | get_default_origin () |
| Gets the default origin of the cylinder. It is set to the origin of the Cartesian coordinate system. | |
| static Point< 3 > | get_default_axis () |
| Gets the default axis of the cylinder. It is set to the z-axis of the Cartesian coordinate system. | |
Protected Attributes inherited from qugar::impl::funcs::CylinderBase | |
| real | radius_ |
| Radius of the cylinder. | |
| Point< 3 > | origin_ |
| Origin of the cylinder. | |
| Point< 3 > | axis_ |
| Axis of the axis. | |
Infinite cylinder.
The cylinder is defined by its radius, origin, and axis.
The function presents a negative sign around the cylinder's axis, and positive far away. At a radius distance from the cylinder's axis, the function vanishes.
|
explicit |
| qugar::impl::funcs::Cylinder::declare_impl_func_virtual_interface |
|
static |