Class documentation of Concepts

Loading...
Searching...
No Matches
testCurvedEdges2D.hh
Go to the documentation of this file.
1
8#ifndef testCurvedEdges2D_hh
9#define testCurvedEdges2D_hh
10
11#include "basics/testcase.hh"
12#include "basics/typedefs.hh"
13
14namespace test {
15 using concepts::Real;
16 using concepts::Real2d;
17
18 // ******************************************************** TestEdgeMaps2D **
19
25 class TestEdgeMaps2D : public TestCase {
26 public:
27 virtual ~TestEdgeMaps2D();
28 virtual void run();
29
31
32 void testLine();
33 void testCircle();
34 void testCircleFromThreePoints();
35 void testCircleFromThreePointsSP();
36 void testEllipse();
37 void testEllipseAgainstCircle();
38 void testParabel();
39 void testParallelLine();
40 void testParallelCircle();
41 void testInverseLine();
42 void testInverseCircle();
43 void testInverseEllipseAgainstCircle();
45 private:
47 void testLine_(const concepts::MappingEdge2d& edgemap,
48 const Real2d& vtx0, const Real2d& vtx1,
49 Real t, bool inverse = false);
51 void testCircle_(const concepts::MappingEdge2d& edge,
52 Real t, bool inverse = false);
54 void testEllipse_(const concepts::MappingEdge2d& edge,
55 Real t, bool inverse = false);
57 void testCircleSP_(const concepts::MappingEdge2d& edge,
58 Real t, bool inverse = false);
59 };
60
61} // namespace test
62
63#endif // testCurvedEdges2D_hh
virtual void run()
Runs the tests. Must be overwritten by the specialization.
double Real
Definition typedefs.hh:39