|
DGtal 1.4.0
|
Aim: Union between two models of CDigitalBoundedShape and CDigitalOrientedShape. More...
#include <DGtal/shapes/DigitalShapesDecorator.h>
Public Types | |
| typedef ShapeA::Space | Space |
| typedef ShapeA::Point | Point |
Public Member Functions | |
| BOOST_CONCEPT_ASSERT ((concepts::CDigitalBoundedShape< ShapeA >)) | |
| BOOST_CONCEPT_ASSERT ((concepts::CDigitalOrientedShape< ShapeA >)) | |
| BOOST_CONCEPT_ASSERT ((concepts::CDigitalBoundedShape< ShapeB >)) | |
| BOOST_CONCEPT_ASSERT ((concepts::CDigitalOrientedShape< ShapeB >)) | |
| DigitalShapesUnion (ConstAlias< ShapeA > a, ConstAlias< ShapeB > b) | |
| Point | getLowerBound () const |
| Point | getUpperBound () const |
| Orientation | orientation (const Point &p) const |
| ~DigitalShapesUnion () | |
| void | selfDisplay (std::ostream &out) const |
| bool | isValid () const |
Protected Member Functions | |
| DigitalShapesUnion () | |
Private Member Functions | |
| DigitalShapesUnion (const DigitalShapesUnion &other) | |
| DigitalShapesUnion & | operator= (const DigitalShapesUnion &other) |
Private Attributes | |
| const ShapeA & | myShapeA |
| const ShapeB & | myShapeB |
| Point | myLowerBound |
| Point | myUpperBound |
Aim: Union between two models of CDigitalBoundedShape and CDigitalOrientedShape.
Description of template class 'DigitalShapesUnion'
| ShapeA | type of the first shape. Must be a model of CDigitalBoundedShape and CDigitalOrientedShape |
| ShapeB | type of the second shape. Must be a model of CDigitalBoundedShape and CDigitalOrientedShape |
Definition at line 354 of file DigitalShapesDecorator.h.
| typedef ShapeA::Point DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::Point |
Definition at line 364 of file DigitalShapesDecorator.h.
| typedef ShapeA::Space DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::Space |
Definition at line 363 of file DigitalShapesDecorator.h.
|
inline |
Constructor.
| [in] | a | a model of CDigitalBoundedShape and CDigitalOrientedShape |
| [in] | b | a model of CDigitalBoundedShape and CDigitalOrientedShape |
Definition at line 372 of file DigitalShapesDecorator.h.
References DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::myLowerBound, DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::myShapeB, and DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::myUpperBound.
|
inline |
|
protected |
Constructor. Forbidden by default (protected to avoid g++ warnings).
|
private |
Copy constructor.
| other | the object to clone. Forbidden by default. |
| DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalBoundedShape< ShapeA >) | ) |
| DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalBoundedShape< ShapeB >) | ) |
| DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalOrientedShape< ShapeA >) | ) |
| DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalOrientedShape< ShapeB >) | ) |
|
inline |
Definition at line 392 of file DigitalShapesDecorator.h.
References DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::myLowerBound.
|
inline |
Definition at line 401 of file DigitalShapesDecorator.h.
References DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::myUpperBound.
| bool DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::isValid | ( | ) | const |
Checks the validity/consistency of the object.
|
private |
Assignment.
| other | the object to copy. |
|
inline |
Return the orientation of a point with respect to a shape.
| [in] | p | input point |
Definition at line 413 of file DigitalShapesDecorator.h.
References DGtal::INSIDE, DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::myShapeB, DGtal::ON, and DGtal::OUTSIDE.
| void DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
| out | the output stream where the object is written. |
|
private |
Definition at line 477 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::DigitalShapesUnion(), and DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::getLowerBound().
|
private |
Definition at line 474 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::DigitalShapesUnion(), and DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 475 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::DigitalShapesUnion(), and DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 478 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::DigitalShapesUnion(), and DGtal::deprecated::DigitalShapesUnion< ShapeA, ShapeB >::getUpperBound().