DGtal 1.4.0
|
Aim: Intersection 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 >)) | |
DigitalShapesIntersection (ConstAlias< ShapeA > a, ConstAlias< ShapeB > b) | |
Point | getLowerBound () const |
Point | getUpperBound () const |
Orientation | orientation (const Point &p) const |
~DigitalShapesIntersection () | |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Member Functions | |
DigitalShapesIntersection () | |
Private Member Functions | |
DigitalShapesIntersection (const DigitalShapesIntersection &other) | |
DigitalShapesIntersection & | operator= (const DigitalShapesIntersection &other) |
Private Attributes | |
const ShapeA & | myShapeA |
const ShapeB & | myShapeB |
Point | myLowerBound |
Point | myUpperBound |
Aim: Intersection between two models of CDigitalBoundedShape and CDigitalOrientedShape.
Description of template class 'DigitalShapesIntersection'
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 492 of file DigitalShapesDecorator.h.
typedef ShapeA::Point DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::Point |
Definition at line 502 of file DigitalShapesDecorator.h.
typedef ShapeA::Space DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::Space |
Definition at line 501 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 510 of file DigitalShapesDecorator.h.
References DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::myLowerBound, DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::myShapeB, and DGtal::deprecated::DigitalShapesIntersection< 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::DigitalShapesIntersection< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalBoundedShape< ShapeA >) | ) |
DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalBoundedShape< ShapeB >) | ) |
DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalOrientedShape< ShapeA >) | ) |
DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CDigitalOrientedShape< ShapeB >) | ) |
|
inline |
Definition at line 530 of file DigitalShapesDecorator.h.
References DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::myLowerBound.
|
inline |
Definition at line 539 of file DigitalShapesDecorator.h.
References DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::myUpperBound.
bool DGtal::deprecated::DigitalShapesIntersection< 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 551 of file DigitalShapesDecorator.h.
References DGtal::INSIDE, DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::myShapeB, DGtal::ON, and DGtal::OUTSIDE.
void DGtal::deprecated::DigitalShapesIntersection< 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 621 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::DigitalShapesIntersection(), and DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::getLowerBound().
|
private |
Definition at line 618 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::DigitalShapesIntersection(), and DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 619 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::DigitalShapesIntersection(), and DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 622 of file DigitalShapesDecorator.h.
Referenced by DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::DigitalShapesIntersection(), and DGtal::deprecated::DigitalShapesIntersection< ShapeA, ShapeB >::getUpperBound().