DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Private Attributes
DGtal::CEuclideanBoundedShape< TShape > Struct Template Reference

#include <CEuclideanBoundedShape.h>

Public Types

typedef TShape::RealPoint RealPoint

Public Member Functions

 BOOST_CONCEPT_USAGE (CEuclideanBoundedShape)

Private Attributes

TShape myT
RealPoint myP

Detailed Description

template<typename TShape>
struct DGtal::CEuclideanBoundedShape< TShape >

DescriptionDescription of concept 'CEuclideanBoundedShape'

Aim: designs the concept of bounded shapes in DGtal (shape for which upper and lower bounding bounds are available).

Refinement of

Associated types :

Notation

Definitions

Valid expressions and

Name Expression Type requirements Return type Precondition Semantics Postcondition Complexity
Lower bound x.getLowerBound() RealPoint compute and return the lower bound of the shape bounding box
Upper bound x.getUpperBound() Point compute and return the upper bound of the shape bounding box

Invariants###

Models###

Implicit and Parametric shapes of the shape factory.

Notes###

Definition at line 114 of file CEuclideanBoundedShape.h.


Member Typedef Documentation

template<typename TShape >
typedef TShape::RealPoint DGtal::CEuclideanBoundedShape< TShape >::RealPoint

Definition at line 119 of file CEuclideanBoundedShape.h.


Member Function Documentation

template<typename TShape >
DGtal::CEuclideanBoundedShape< TShape >::BOOST_CONCEPT_USAGE ( CEuclideanBoundedShape< TShape >  )
inline

Definition at line 121 of file CEuclideanBoundedShape.h.

References DGtal::CEuclideanBoundedShape< TShape >::myP, DGtal::CEuclideanBoundedShape< TShape >::myT, and DGtal::ConceptUtils::sameType().

{
// Shape should have a getUpperBound() returning a Point.
ConceptUtils::sameType( myP, myT.getUpperBound() );
// Shape should have a getLowerBound() returning a Point.
ConceptUtils::sameType( myP, myT.getLowerBound() );
}

Field Documentation

template<typename TShape >
RealPoint DGtal::CEuclideanBoundedShape< TShape >::myP
private
template<typename TShape >
TShape DGtal::CEuclideanBoundedShape< TShape >::myT
private

The documentation for this struct was generated from the following file: