DGtal 2.0.0
|
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. More...
#include <DGtal/shapes/CEuclideanOrientedShape.h>
Public Types | |
typedef T::RealPoint | RealPoint |
Public Member Functions | |
BOOST_CONCEPT_USAGE (CEuclideanOrientedShape) |
Private Attributes | |
T | myX |
Orientation | myA |
RealPoint | p |
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'
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | 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}. |
Parametric and implicit shapes in the DGtal shape factory,
T | the type that should be a model of CEuclideanOrientedShape. |
Definition at line 91 of file CEuclideanOrientedShape.h.
typedef T::RealPoint DGtal::concepts::CEuclideanOrientedShape< T >::RealPoint |
Definition at line 96 of file CEuclideanOrientedShape.h.
|
inline |
Definition at line 99 of file CEuclideanOrientedShape.h.
References myA, myX, p, and DGtal::concepts::ConceptUtils::sameType().
|
private |
Definition at line 106 of file CEuclideanOrientedShape.h.
Referenced by BOOST_CONCEPT_USAGE().
|
private |
Definition at line 105 of file CEuclideanOrientedShape.h.
Referenced by BOOST_CONCEPT_USAGE().
|
private |
Definition at line 107 of file CEuclideanOrientedShape.h.
Referenced by BOOST_CONCEPT_USAGE().