|
DGtal
0.6.devel
|
#include <ImplicitBall.h>
Public Types | |
| typedef ImplicitBall< TSpace > | Self |
| typedef TSpace | Space |
| typedef Space::RealPoint | RealPoint |
| typedef Space::Integer | Integer |
| typedef double | Value |
Public Member Functions | |
| ImplicitBall (const RealPoint &aCenter, const double &aRadius) | |
| ~ImplicitBall () | |
| Value | operator() (const RealPoint &aPoint) const |
| bool | isInside (const RealPoint &aPoint) const |
| Orientation | orientation (const RealPoint &aPoint) const |
| RealPoint | getLowerBound () const |
| RealPoint | getUpperBound () const |
| void | selfDisplay (std::ostream &out) const |
| bool | isValid () const |
Protected Member Functions | |
| ImplicitBall () | |
Private Member Functions | |
| ImplicitBall & | operator= (const ImplicitBall &other) |
Private Attributes | |
| RealPoint | myCenter |
| double | myRadius |
Aim: model of CEuclideanOrientedShape and CEuclideanBoundedShape concepts to create a ball in nD..
Description of template class 'ImplicitBall'
Model of CImplicitFunction
| TSpace | the Digital space definition. |
Definition at line 64 of file ImplicitBall.h.
| typedef Space::Integer DGtal::ImplicitBall< TSpace >::Integer |
Definition at line 71 of file ImplicitBall.h.
| typedef Space::RealPoint DGtal::ImplicitBall< TSpace >::RealPoint |
Definition at line 70 of file ImplicitBall.h.
| typedef ImplicitBall<TSpace> DGtal::ImplicitBall< TSpace >::Self |
Definition at line 68 of file ImplicitBall.h.
| typedef TSpace DGtal::ImplicitBall< TSpace >::Space |
Definition at line 69 of file ImplicitBall.h.
| typedef double DGtal::ImplicitBall< TSpace >::Value |
Definition at line 72 of file ImplicitBall.h.
|
inline |
Constructor. Contructs a ball with center aCenter and radius aRadius.
| aCenter | the ball center. |
| aRadius | the ball radius. |
Definition at line 81 of file ImplicitBall.h.
|
inline |
|
protected |
Constructor. Forbidden by default (protected to avoid g++ warnings).
|
inline |
Definition at line 120 of file ImplicitBall.h.
References DGtal::ImplicitBall< TSpace >::myCenter, and DGtal::ImplicitBall< TSpace >::myRadius.
|
inline |
Definition at line 126 of file ImplicitBall.h.
References DGtal::ImplicitBall< TSpace >::myCenter, and DGtal::ImplicitBall< TSpace >::myRadius.
|
inline |
Definition at line 102 of file ImplicitBall.h.
|
inline |
Checks the validity/consistency of the object.
Definition at line 72 of file ImplicitBall.ih.
|
inline |
Definition at line 96 of file ImplicitBall.h.
References DGtal::ImplicitBall< TSpace >::myCenter, and DGtal::ImplicitBall< TSpace >::myRadius.
|
private |
Assignment.
| other | the object to copy. |
|
inline |
Definition at line 108 of file ImplicitBall.h.
References DGtal::INSIDE, DGtal::ON, and DGtal::OUTSIDE.
|
inline |
Writes/Displays the object on an output stream.
| out | the output stream where the object is written. |
Definition at line 60 of file ImplicitBall.ih.
|
private |
Ball center.
Definition at line 154 of file ImplicitBall.h.
Referenced by DGtal::ImplicitBall< TSpace >::getLowerBound(), DGtal::ImplicitBall< TSpace >::getUpperBound(), and DGtal::ImplicitBall< TSpace >::operator()().
|
private |
Ball Radius.
Definition at line 157 of file ImplicitBall.h.
Referenced by DGtal::ImplicitBall< TSpace >::getLowerBound(), DGtal::ImplicitBall< TSpace >::getUpperBound(), and DGtal::ImplicitBall< TSpace >::operator()().
1.8.1.1