DGtal
1.5.beta
|
Aim: Union between two models of CEuclideanBoundedShape and CEuclideanOrientedShape. More...
#include <DGtal/shapes/EuclideanShapesDecorator.h>
Public Types | |
typedef ShapeA::Space | Space |
typedef ShapeA::RealPoint | RealPoint |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CEuclideanBoundedShape< ShapeA >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CEuclideanOrientedShape< ShapeA >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CEuclideanBoundedShape< ShapeB >)) | |
BOOST_CONCEPT_ASSERT ((concepts::CEuclideanOrientedShape< ShapeB >)) | |
EuclideanShapesUnion (ConstAlias< ShapeA > a, ConstAlias< ShapeB > b) | |
RealPoint | getLowerBound () const |
RealPoint | getUpperBound () const |
Orientation | orientation (const RealPoint &p) const |
~EuclideanShapesUnion () | |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Member Functions | |
EuclideanShapesUnion () | |
Private Member Functions | |
EuclideanShapesUnion (const EuclideanShapesUnion &other) | |
EuclideanShapesUnion & | operator= (const EuclideanShapesUnion &other) |
Private Attributes | |
const ShapeA & | myShapeA |
const ShapeB & | myShapeB |
RealPoint | myLowerBound |
RealPoint | myUpperBound |
Aim: Union between two models of CEuclideanBoundedShape and CEuclideanOrientedShape.
Description of template class 'EuclideanShapesDecorator'
ShapeA | type of the first shape. Must be a model of CEuclideanBoundedShape and CEuclideanOrientedShape |
ShapeB | type of the second shape. Must be a model of CEuclideanBoundedShape and CEuclideanOrientedShape |
Definition at line 352 of file EuclideanShapesDecorator.h.
typedef ShapeA::RealPoint DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::RealPoint |
Definition at line 362 of file EuclideanShapesDecorator.h.
typedef ShapeA::Space DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::Space |
Definition at line 361 of file EuclideanShapesDecorator.h.
|
inline |
Constructor.
[in] | a | a model of CEuclideanBoundedShape and CEuclideanOrientedShape |
[in] | b | a model of CEuclideanBoundedShape and CEuclideanOrientedShape |
Definition at line 370 of file EuclideanShapesDecorator.h.
References max(), DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::myLowerBound, DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::myShapeB, and DGtal::deprecated::EuclideanShapesUnion< 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::EuclideanShapesUnion< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanBoundedShape< ShapeA >) | ) |
DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanBoundedShape< ShapeB >) | ) |
DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanOrientedShape< ShapeA >) | ) |
DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanOrientedShape< ShapeB >) | ) |
|
inline |
Definition at line 389 of file EuclideanShapesDecorator.h.
References DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::myLowerBound.
|
inline |
Definition at line 398 of file EuclideanShapesDecorator.h.
References DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::myUpperBound.
bool DGtal::deprecated::EuclideanShapesUnion< 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 410 of file EuclideanShapesDecorator.h.
References DGtal::INSIDE, DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::myShapeB, DGtal::ON, and DGtal::OUTSIDE.
void DGtal::deprecated::EuclideanShapesUnion< 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 474 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::EuclideanShapesUnion(), and DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::getLowerBound().
|
private |
Definition at line 471 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::EuclideanShapesUnion(), and DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 472 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::EuclideanShapesUnion(), and DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 475 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::EuclideanShapesUnion(), and DGtal::deprecated::EuclideanShapesUnion< ShapeA, ShapeB >::getUpperBound().