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 
14 namespace 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();
36  void testEllipse();
38  void testParabel();
45  private:
47  void testLine_(const concepts::MappingEdge2d& edgemap,
48  const Real2d& vtx0, const Real2d& vtx1,
49  Real t, bool inverse = false);
52  Real t, bool inverse = false);
55  Real t, bool inverse = false);
58  Real t, bool inverse = false);
59  };
60 
61 } // namespace test
62 
63 #endif // testCurvedEdges2D_hh
Base class for tests.
Definition: testcase.hh:92
void testParallelCircle()
Tests one point on a straight line.
void testEllipse()
Tests one point on a straight line.
void testEllipseAgainstCircle()
Tests one point on a straight line.
void testCircleSP_(const concepts::MappingEdge2d &edge, Real t, bool inverse=false)
Some more special test case for three points determine an circle.
Point< Real, 2 > Real2d
void testInverseLine()
Tests one point on a straight line.
void testCircle()
Tests one point on a straight line.
Unit tests.
Definition: testcase.hh:66
F & inverse(F &f)
Definition: operations.hh:15
virtual ~TestEdgeMaps2D()
void testLine_(const concepts::MappingEdge2d &edgemap, const Real2d &vtx0, const Real2d &vtx1, Real t, bool inverse=false)
Tests one point on a straight line.
void testInverseEllipseAgainstCircle()
Tests one point on a straight line.
void testParallelLine()
Tests one point on a straight line.
Tests the functionality of the 2D edge maps.
void testCircleFromThreePointsSP()
Tests one point on a straight line.
void testParabel()
Tests one point on a straight line.
void testEllipse_(const concepts::MappingEdge2d &edge, Real t, bool inverse=false)
Tests one point on the particular ellipsoidal line.
A 2D element map for an edge.
Definition: elementMaps.hh:84
void testCircleFromThreePoints()
Tests one point on a straight line.
void testCircle_(const concepts::MappingEdge2d &edge, Real t, bool inverse=false)
Tests one point on the particular circular line.
virtual void run()
Runs the tests. Must be overwritten by the specialization.
void testInverseCircle()
Tests one point on a straight line.
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
void testLine()
Tests one point on a straight line.
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich