#include <TopoDS_Face.hxx>
#include <TopoDS_Iterator.hxx>
#include <TopoDS_Shell.hxx>
+ #include <TopExp_Explorer.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
+#include <BOPAlgo_PaveFiller.hxx>
+#include <BRepTools.hxx>
+#include <TopExp_Explorer.hxx>
+#include <ShapeUpgrade_UnifySameDomain.hxx>
+ #include <QFile>
#include <QString>
+ #include <QTextStream>
+
+ const char TELEMAC_FORMAT = 'f';
+ const int TELEMAC_PRECISION = 3;
+
IMPLEMENT_STANDARD_HANDLE(HYDROData_LandCoverMap, HYDROData_Entity)
IMPLEMENT_STANDARD_RTTIEXT(HYDROData_LandCoverMap, HYDROData_Entity)
TopTools_ListOfShape aList;
aList.Append( aMap->FindByPoint( aPnt1, aType1 ) );
aList.Append( aMap->FindByPoint( aPnt2, aType2 ) );
- //aList.Append( aMap->FindByPoint( aPnt3, aType1 ) );
- //aList.Append( aMap->FindByPoint( aPnt4, aType2 ) );
- //CPPUNIT_ASSERT_EQUAL( true, aMap->Merge( aList, "new" ) );
+ CPPUNIT_ASSERT_EQUAL( true, aMap->Merge( aList, "new" ) );
- //TestViewer::show( aMap->GetShape(), AIS_Shaded, true );
- //TestViewer::show( BRepBuilderAPI_MakeEdge( aPnt1, aPnt2 ).Edge(), QColor( Qt::black ), AIS_Shaded );
- //TestViewer::AssertEqual( "LandCoverMap_Merge_1" );
++
+ TestViewer::show( aMap->GetShape(), AIS_Shaded, true );
+ //TestViewer::show( BRepBuilderAPI_MakeEdge( gp_Pnt(aPnt1.X(), aPnt1.Y(), 0), gp_Pnt(aPnt2.X(), aPnt2.Y(), 0) ).Edge(), QColor( Qt::blue ), AIS_Shaded );
+ TestViewer::AssertEqual( "LandCoverMap_Merge_1" );
aDoc->Close();
}