Aim: Model of the concept StarShaped3D represents any Sphere in the space.
More...
#include <DGtal/shapes/parametric/Ball3D.h>
template<typename TSpace>
class DGtal::Ball3D< TSpace >
Aim: Model of the concept StarShaped3D represents any Sphere in the space.
Description of template class 'Ball3D'
- Examples
- dec/exampleHeatLaplace.cpp, and tutorial-examples/AreaSurfaceEstimation-final.cpp.
Definition at line 60 of file Ball3D.h.
◆ AngularCoordinates
template<typename TSpace >
typedef std::pair<double,double> DGtal::Ball3D< TSpace >::AngularCoordinates |
◆ RealPoint
template<typename TSpace >
◆ Space
template<typename TSpace >
◆ Ball3D() [1/4]
template<typename TSpace >
Constructor. Forbidden by default.
◆ Ball3D() [2/4]
template<typename TSpace >
DGtal::Ball3D< TSpace >::Ball3D |
( |
const double | x0, |
|
|
const double | y0, |
|
|
const double | z0, |
|
|
const double | r ) |
Constructor.
- Parameters
-
x0 | the x-coordinate of the sphere center. |
y0 | the y-coordinate of the sphere center. |
z0 | the z-coordinate of the sphere center. |
r | the radius of the sphere. |
◆ Ball3D() [3/4]
template<typename TSpace >
Constructor.
- Parameters
-
aPoint | the sphere center. |
r | the radius of the sphere. |
◆ Ball3D() [4/4]
template<typename TSpace >
Copy constructor.
- Parameters
-
other | the object to clone. |
◆ ~Ball3D()
template<typename TSpace >
◆ center()
template<typename TSpace >
◆ getLowerBound()
template<typename TSpace >
◆ getUpperBound()
template<typename TSpace >
◆ gradient()
template<typename TSpace >
- Parameters
-
t | is a couple of Teta && Phi wich are respectivly between [-Pi/2,Pi/2) and [-Pi,Pi]. |
- Returns
- the vector (gradf(M)).
Implements DGtal::StarShaped3D< TSpace >.
◆ isValid()
template<typename TSpace >
Checks the validity/consistency of the object.
- Returns
- 'true' if the object is valid, 'false' otherwise.
◆ moveTo()
template<typename TSpace >
◆ operator=()
template<typename TSpace >
Assignment.
- Parameters
-
- Returns
- a reference on 'this'. Forbidden by default.
◆ parameter()
template<typename TSpace >
- Parameters
-
- Returns
- the couple of angles parameters Teta && Phi which are respectivly between [-Pi/2,Pi/2) and [-Pi,Pi] corresponding to this point for the shape.
Implements DGtal::StarShaped3D< TSpace >.
◆ rp()
template<typename TSpace >
- Parameters
-
t | is a couple of Teta && Phi wich are respectivly between [-Pi/2,Pi/2) and [-Pi,Pi]. |
- Returns
- the vector (rp(M)) wich is the partial derivative with respect to Phi.
Implements DGtal::StarShaped3D< TSpace >.
◆ rpp()
template<typename TSpace >
- Parameters
-
t | is a couple of Teta && Phi wich are respectivly between [-Pi/2,Pi/2) and [-Pi,Pi]. |
- Returns
- the vector (rpp(M)) wich is second the partial derivatif with respect to Phi (twice).
Implements DGtal::StarShaped3D< TSpace >.
◆ rt()
template<typename TSpace >
- Parameters
-
t | is a couple of Teta && Phi wich are respectivly between [-Pi/2,Pi/2) and [-Pi,Pi]. |
- Returns
- the vector (rt(M)) wich is the partial derivative with respect to Teta.
Implements DGtal::StarShaped3D< TSpace >.
◆ rtp()
template<typename TSpace >
- Parameters
-
t | is a couple of Teta && Phi wich are respectivly between [-Pi/2,Pi/2) and [-Pi,Pi]. |
- Returns
- the vector (rpp(M)) wich is second the partial derivative with respect to Teta then Phi.
Implements DGtal::StarShaped3D< TSpace >.
◆ rtt()
template<typename TSpace >
- Parameters
-
t | is a couple of Teta && Phi wich are respectivly between [-Pi/2,Pi/2) and [-Pi,Pi]. |
- Returns
- the vector (rtt(M)) wich is second the partial derivative with respect to Teta (twice).
Implements DGtal::StarShaped3D< TSpace >.
◆ selfDisplay()
template<typename TSpace >
void DGtal::Ball3D< TSpace >::selfDisplay |
( |
std::ostream & | out | ) |
const |
Writes/Displays the object on an output stream.
- Parameters
-
out | the output stream where the object is written. |
◆ x()
template<typename TSpace >
- Parameters
-
t | is a couple of Teta && Phi wich are respectivly between [-Pi/2,Pi/2) and [-Pi,Pi]. |
- Returns
- the vector (x(t),y(t),z(t)) which is the position on the shape boundary.
Implements DGtal::StarShaped3D< TSpace >.
◆ myCenter
template<typename TSpace >
◆ myRadius
template<typename TSpace >
The documentation for this class was generated from the following file: