DGtal
1.1.0
src
DGtal
geometry
tools
determinant
COrientationFunctor2.h
1
17
#pragma once
18
31
#if defined(COrientationFunctor2_RECURSES)
32
#error Recursive header files inclusion detected in COrientationFunctor2.h
33
#else // defined(COrientationFunctor2_RECURSES)
34
35
#define COrientationFunctor2_RECURSES
36
37
#if !defined COrientationFunctor2_h
38
39
#define COrientationFunctor2_h
40
42
// Inclusions
43
#include <iostream>
44
#include "DGtal/base/Common.h"
45
46
#include "DGtal/geometry/tools/determinant/COrientationFunctor.h"
48
49
namespace
DGtal
50
{
51
namespace
concepts
52
{
54
// class COrientationFunctor2
83
template
<
typename
T>
84
struct
COrientationFunctor2
:
concepts::COrientationFunctor
<T>
85
{
86
// ----------------------- Concept checks ------------------------------
87
public
:
88
89
BOOST_CONCEPT_USAGE
(
COrientationFunctor2
)
90
{
91
myX
.init(
myA
,
myB
);
92
}
93
// ------------------------- Private Datas --------------------------------
94
private
:
95
T
myX
;
96
typename
T::Point
myA
,
myB
;
97
98
};
// end of concept COrientationFunctor2
99
}
100
}
// namespace DGtal
101
102
// //
104
105
#endif // !defined COrientationFunctor2_h
106
107
#undef COrientationFunctor2_RECURSES
108
#endif // else defined(COrientationFunctor2_RECURSES)
DGtal::concepts::COrientationFunctor2::myB
T::Point myB
Definition:
COrientationFunctor2.h:96
DGtal::concepts::COrientationFunctor
Aim: This concept gathers models implementing an orientation test of points in a space of dimension ...
Definition:
COrientationFunctor.h:114
DGtal
DGtal is the top-level namespace which contains all DGtal functions and types.
Definition:
ClosedIntegerHalfPlane.h:49
DGtal::concepts::COrientationFunctor2
Aim: This concept is a refinement of COrientationFunctor, useful for simple algebraic curves that can...
Definition:
COrientationFunctor2.h:85
DGtal::concepts::COrientationFunctor2::myX
T myX
Definition:
COrientationFunctor2.h:95
DGtal::concepts::COrientationFunctor2::BOOST_CONCEPT_USAGE
BOOST_CONCEPT_USAGE(COrientationFunctor2)
Definition:
COrientationFunctor2.h:89
DGtal::concepts::COrientationFunctor2::myA
T::Point myA
Definition:
COrientationFunctor2.h:96
Point
MyPointD Point
Definition:
testClone2.cpp:383
Generated on Fri Oct 9 2020 08:57:48 for DGtal by
1.8.20