DGtal 1.4.0
|
Aim: Intersection 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 >)) | |
EuclideanShapesIntersection (ConstAlias< ShapeA > a, ConstAlias< ShapeB > b) | |
RealPoint | getLowerBound () const |
RealPoint | getUpperBound () const |
Orientation | orientation (const RealPoint &p) const |
~EuclideanShapesIntersection () | |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
Protected Member Functions | |
EuclideanShapesIntersection () | |
Private Member Functions | |
EuclideanShapesIntersection (const EuclideanShapesIntersection &other) | |
EuclideanShapesIntersection & | operator= (const EuclideanShapesIntersection &other) |
Private Attributes | |
const ShapeA & | myShapeA |
const ShapeB & | myShapeB |
RealPoint | myLowerBound |
RealPoint | myUpperBound |
Aim: Intersection between two models of CEuclideanBoundedShape and CEuclideanOrientedShape.
Description of template class 'EuclideanShapesIntersection'
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 489 of file EuclideanShapesDecorator.h.
typedef ShapeA::RealPoint DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::RealPoint |
Definition at line 499 of file EuclideanShapesDecorator.h.
typedef ShapeA::Space DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::Space |
Definition at line 498 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 507 of file EuclideanShapesDecorator.h.
References DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::myLowerBound, DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::myShapeB, and DGtal::deprecated::EuclideanShapesIntersection< 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::EuclideanShapesIntersection< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanBoundedShape< ShapeA >) | ) |
DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanBoundedShape< ShapeB >) | ) |
DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanOrientedShape< ShapeA >) | ) |
DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::BOOST_CONCEPT_ASSERT | ( | (concepts::CEuclideanOrientedShape< ShapeB >) | ) |
|
inline |
Definition at line 527 of file EuclideanShapesDecorator.h.
References DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::myLowerBound.
|
inline |
Definition at line 536 of file EuclideanShapesDecorator.h.
References DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::myUpperBound.
bool DGtal::deprecated::EuclideanShapesIntersection< 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 548 of file EuclideanShapesDecorator.h.
References DGtal::INSIDE, DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::myShapeA, DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::myShapeB, DGtal::ON, and DGtal::OUTSIDE.
void DGtal::deprecated::EuclideanShapesIntersection< 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 |
|
private |
Definition at line 615 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::EuclideanShapesIntersection(), and DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::orientation().
|
private |
Definition at line 616 of file EuclideanShapesDecorator.h.
Referenced by DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::EuclideanShapesIntersection(), and DGtal::deprecated::EuclideanShapesIntersection< ShapeA, ShapeB >::orientation().
|
private |