|
QUGaR 0.1.3
|
Dimension independent spherical function. More...
#include <primitive_funcs_lib.hpp>
Public Member Functions | |
| SphereBase (real radius, const Point< dim > ¢er) | |
Constructs a Sphere object with a specified center and radius. | |
| real | radius () const |
| Gets the radius of the sphere. | |
| const Point< dim > & | center () const |
| Gets the center of the sphere. | |
Static Protected Member Functions | |
| static Point< dim > | get_default_center () |
| Gets the default center of the sphere. It is set to the origin of the Cartesian coordinate system. | |
Protected Attributes | |
| real | radius_ { 0 } |
| Radius of the sphere. | |
| Point< dim > | center_ |
| Center of the sphere. | |
Dimension independent spherical function.
| dim | Parametric dimension. |
| qugar::impl::funcs::SphereBase< dim >::SphereBase | ( | real | radius, |
| const Point< dim > & | center ) |
Constructs a Sphere object with a specified center and radius.
| radius | The radius of the sphere. |
| center | The center of the sphere. |
|
nodiscard |
Gets the center of the sphere.
|
staticnodiscardprotected |
Gets the default center of the sphere. It is set to the origin of the Cartesian coordinate system.
|
nodiscard |
Gets the radius of the sphere.
|
protected |
Center of the sphere.
|
protected |
Radius of the sphere.