DGtal
1.5.beta
|
Aim: Minus 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 >)) | |
DigitalShapesMinus (ConstAlias< ShapeA > a, ConstAlias< ShapeB > b) | |
Point | getLowerBound () const |
Point | getUpperBound () const |
Orientation | orientation (const Point &p) const |
~DigitalShapesMinus () | |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Member Functions | |
DigitalShapesMinus () | |
Private Member Functions | |
DigitalShapesMinus (const DigitalShapesMinus &other) | |
DigitalShapesMinus & | operator= (const DigitalShapesMinus &other) |
Private Attributes | |
const ShapeA & | myShapeA |
const ShapeB & | myShapeB |
Point | myLowerBound |
Point | myUpperBound |
Aim: Minus between two models of CDigitalBoundedShape and CDigitalOrientedShape.
Description of template class 'DigitalShapesMinus'
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 636 of file DigitalShapesDecorator.h.
typedef ShapeA::Point DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::Point |
Definition at line 646 of file DigitalShapesDecorator.h.
typedef ShapeA::Space DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::Space |
Definition at line 645 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 654 of file DigitalShapesDecorator.h.
References max(), DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::myLowerBound, DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::myShapeB, and DGtal::deprecated::DigitalShapesMinus< 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::DigitalShapesMinus< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalBoundedShape< ShapeA >) | ) |
DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalBoundedShape< ShapeB >) | ) |
DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalOrientedShape< ShapeA >) | ) |
DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalOrientedShape< ShapeB >) | ) |
|
inline |
Definition at line 674 of file DigitalShapesDecorator.h.
References DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::myLowerBound.
|
inline |
Definition at line 683 of file DigitalShapesDecorator.h.
References DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::myUpperBound.
bool DGtal::deprecated::DigitalShapesMinus< 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 695 of file DigitalShapesDecorator.h.
References DGtal::INSIDE, DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::myShapeB, DGtal::ON, and DGtal::OUTSIDE.
void DGtal::deprecated::DigitalShapesMinus< 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 756 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::DigitalShapesMinus(), and DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::getLowerBound().
|
private |
Definition at line 753 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::DigitalShapesMinus(), and DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 754 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::DigitalShapesMinus(), and DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 757 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::DigitalShapesMinus(), and DGtal::deprecated::DigitalShapesMinus< ShapeA, ShapeB >::getUpperBound().