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::CEuclideanOrientedShape< T > Struct Template Reference

#include <CEuclideanOrientedShape.h>

Collaboration diagram for DGtal::CEuclideanOrientedShape< T >:
Collaboration graph
[legend]

Public Types

typedef T::RealPoint RealPoint

Public Member Functions

 BOOST_CONCEPT_USAGE (CEuclideanOrientedShape)

Private Attributes

myX
Orientation myA
RealPoint p

Detailed Description

template<typename T>
struct DGtal::CEuclideanOrientedShape< T >

Aim: characterizes models of digital oriented shapes. For example, models should provide an orientation method for real points. Returned value type corresponds to DGtal::Orientation.

Description of concept 'CEuclideanOrientedShape'

Refinement of

Associated types :

Notation

Definitions

Valid expressions and

Name Expression Type requirements Return type Precondition Semantics Postcondition Complexity
Orientation method x.orientation( aPoint) aPoint of type const RealPoint & DGtal::Orientation return the orientation of a point aPoint according to the shape. Orientation values can be {DGtal::INSIDE, DGtal::ON or DGtal::OUTSIDE}.

Invariants

Models

 Parametric and implicit shapes in the DGtal shape factory, 

Notes

Template Parameters:
Tthe type that should be a model of CEuclideanOrientedShape.

Definition at line 109 of file CEuclideanOrientedShape.h.


Member Typedef Documentation

template<typename T >
typedef T::RealPoint DGtal::CEuclideanOrientedShape< T >::RealPoint

Definition at line 114 of file CEuclideanOrientedShape.h.


Member Function Documentation

template<typename T >
DGtal::CEuclideanOrientedShape< T >::BOOST_CONCEPT_USAGE ( CEuclideanOrientedShape< T >  )
inline

Field Documentation

template<typename T >
Orientation DGtal::CEuclideanOrientedShape< T >::myA
private
template<typename T >
T DGtal::CEuclideanOrientedShape< T >::myX
private
template<typename T >
RealPoint DGtal::CEuclideanOrientedShape< T >::p
private

Definition at line 125 of file CEuclideanOrientedShape.h.


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