|
DGtal 1.4.2
|
Aim: characterizes models of digital oriented shapes. For example, models should provide an orientation method for points on a SpaceND. Returned value type corresponds to DGtal::Orientation. More...
#include <DGtal/shapes/CDigitalOrientedShape.h>
Public Types | |
| typedef T::Point | Point |
Public Member Functions | |
| BOOST_CONCEPT_USAGE (CDigitalOrientedShape) | |
Private Attributes | |
| T | myX |
| Orientation | myA |
| Point | p |
Aim: characterizes models of digital oriented shapes. For example, models should provide an orientation method for points on a SpaceND. Returned value type corresponds to DGtal::Orientation.
Description of concept 'CDigitalOrientedShape'
| Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
|---|---|---|---|---|---|---|---|
| Orientation method | x.orientation( aPoint) | aPoint of type const Point & | Orientation | return the orientation of a point aPoint according to the shape. Orientation values can be {INSIDE,ON,OUTSIDE} |
Parametric and implicit shapes in the DGtal shape factory,
| T | the type that should be a model of CDigitalOrientedShape. |
Definition at line 90 of file CDigitalOrientedShape.h.
| T::Point DGtal::concepts::CDigitalOrientedShape< T >::Point |
Definition at line 95 of file CDigitalOrientedShape.h.
|
inline |
Definition at line 98 of file CDigitalOrientedShape.h.
References DGtal::concepts::CDigitalOrientedShape< T >::myA, DGtal::concepts::CDigitalOrientedShape< T >::myX, and DGtal::concepts::ConceptUtils::sameType().
|
private |
Definition at line 105 of file CDigitalOrientedShape.h.
Referenced by DGtal::concepts::CDigitalOrientedShape< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 104 of file CDigitalOrientedShape.h.
Referenced by DGtal::concepts::CDigitalOrientedShape< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 106 of file CDigitalOrientedShape.h.