Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

geometry/testsuite/testCurvedEdges2D.hh
Go to the documentation of this file.
00001 
00008 #ifndef testCurvedEdges2D_hh
00009 #define testCurvedEdges2D_hh
00010 
00011 #include "basics/testcase.hh"
00012 #include "basics/typedefs.hh"
00013 
00014 namespace test {
00015   using concepts::Real;
00016   using concepts::Real2d;
00017 
00018   // ******************************************************** TestEdgeMaps2D **
00019 
00025   class TestEdgeMaps2D : public TestCase {
00026   public:
00027     virtual ~TestEdgeMaps2D();
00028     virtual void run();
00029 
00031 
00032     void testLine();
00033     void testCircle();
00034     void testCircleFromThreePoints();
00035     void testCircleFromThreePointsSP();
00036     void testEllipse();
00037     void testEllipseAgainstCircle();
00038     void testParabel();
00039     void testParallelLine();
00040     void testParallelCircle();
00041     void testInverseLine();
00042     void testInverseCircle();
00043     void testInverseEllipseAgainstCircle();
00045   private:
00047     void testLine_(const concepts::MappingEdge2d& edgemap,
00048        const Real2d& vtx0, const Real2d& vtx1,
00049        Real t, bool inverse = false);
00051     void testCircle_(const concepts::MappingEdge2d& edge,
00052          Real t, bool inverse = false);
00054     void testEllipse_(const concepts::MappingEdge2d& edge,
00055                       Real t, bool inverse = false);
00057     void testCircleSP_(const concepts::MappingEdge2d& edge,
00058                        Real t, bool inverse = false);
00059   };
00060 
00061 } // namespace test
00062 
00063 #endif // testCurvedEdges2D_hh

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)