#include <BRep_Builder.hxx>
#include <BRepTools.hxx>
#include <BRep_Tool.hxx>
-#include <BRepMesh.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeVertex.hxx>
+#include <BRepMesh_IncrementalMesh.hxx>
#include <TopExp_Explorer.hxx>
#include <TopLoc_Location.hxx>
//==========================================================================
BRepTools::Clean(aShape);
- BRepMesh::Mesh(aShape,aDeflection);
+ BRepMesh_IncrementalMesh(aShape,aDeflection);
BRep_Builder aBuilder,aBuild1,aBuild2;
TopoDS_Compound aCompound,aComp1,aComp2;
{
const TColgp_Array1OfPnt& aNodes = aTr->Nodes();
aNumOfNodes += aTr->NbNodes();
- Standard_Integer aLower = aNodes.Lower();
- Standard_Integer anUpper = aNodes.Upper();
+ //Standard_Integer aLower = aNodes.Lower();
+ //Standard_Integer anUpper = aNodes.Upper();
const Poly_Array1OfTriangle& triangles = aTr->Triangles();
aNumOfTriangles += aTr->NbTriangles();
void Tesselate_Presentation::sample(const Standard_CString aFileName)
{
- CString initfile(((OCC_BaseApp*) AfxGetApp())->GetInitDataDir());
+ CString initfile(((OCC_App*) AfxGetApp())->GetInitDataDir());
initfile += "\\..\\..\\Data\\";
initfile += aFileName;