DGtal
1.5.beta
|
Aim: Minus 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 >)) | |
EuclideanShapesMinus (ConstAlias< ShapeA > a, ConstAlias< ShapeB > b) | |
RealPoint | getLowerBound () const |
RealPoint | getUpperBound () const |
Orientation | orientation (const RealPoint &p) const |
~EuclideanShapesMinus () | |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Member Functions | |
EuclideanShapesMinus () | |
Private Member Functions | |
EuclideanShapesMinus (const EuclideanShapesMinus &other) | |
EuclideanShapesMinus & | operator= (const EuclideanShapesMinus &other) |
Private Attributes | |
const ShapeA & | myShapeA |
const ShapeB & | myShapeB |
RealPoint | myLowerBound |
RealPoint | myUpperBound |
Aim: Minus between two models of CEuclideanBoundedShape and CEuclideanOrientedShape.
Description of template class 'EuclideanShapesMinus'
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 633 of file EuclideanShapesDecorator.h.
typedef ShapeA::RealPoint DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::RealPoint |
Definition at line 643 of file EuclideanShapesDecorator.h.
typedef ShapeA::Space DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::Space |
Definition at line 642 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 651 of file EuclideanShapesDecorator.h.
References max(), DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::myLowerBound, DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::myShapeB, and DGtal::deprecated::EuclideanShapesMinus< 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::EuclideanShapesMinus< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanBoundedShape< ShapeA >) | ) |
DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanBoundedShape< ShapeB >) | ) |
DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanOrientedShape< ShapeA >) | ) |
DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanOrientedShape< ShapeB >) | ) |
|
inline |
Definition at line 670 of file EuclideanShapesDecorator.h.
References DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::myLowerBound.
|
inline |
Definition at line 679 of file EuclideanShapesDecorator.h.
References DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::myUpperBound.
bool DGtal::deprecated::EuclideanShapesMinus< 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 691 of file EuclideanShapesDecorator.h.
References DGtal::INSIDE, DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::myShapeB, DGtal::ON, and DGtal::OUTSIDE.
void DGtal::deprecated::EuclideanShapesMinus< 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 752 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::EuclideanShapesMinus(), and DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::getLowerBound().
|
private |
Definition at line 749 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::EuclideanShapesMinus(), and DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 750 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::EuclideanShapesMinus(), and DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 753 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::EuclideanShapesMinus(), and DGtal::deprecated::EuclideanShapesMinus< ShapeA, ShapeB >::getUpperBound().