From 17561f1b3eac0ff7b48fe1403531259eb39489f9 Mon Sep 17 00:00:00 2001 From: KafAndrey Date: Fri, 7 Feb 2020 13:34:03 +0300 Subject: [PATCH] edit code --- src/QABugs/QABugs_11.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/QABugs/QABugs_11.cxx b/src/QABugs/QABugs_11.cxx index 1dae837c9b..d6ffd39813 100644 --- a/src/QABugs/QABugs_11.cxx +++ b/src/QABugs/QABugs_11.cxx @@ -390,6 +390,9 @@ Standard_Integer OCC31217(Draw_Interpretor& di, Standard_Integer argc, const cha pathPoles(2) = gp_Pnt(100, 0, 0); pathPoles(3) = gp_Pnt(100, 100, 0); pathPoles(4) = gp_Pnt(0, 99, 0); + //pathPoles(4) = gp_Pnt(-100, 50, 0); + //pathPoles(3) = gp_Pnt(-100, 10, 0); + Handle(Geom_BezierCurve) path = new Geom_BezierCurve(pathPoles); @@ -406,11 +409,11 @@ Standard_Integer OCC31217(Draw_Interpretor& di, Standard_Integer argc, const cha DrawTrSurf::Set("bc", path); DrawTrSurf::Set("surf", pipeSurf); - TopoDS_Shape surfFace = BRepBuilderAPI_MakeFace(pipeSurf, Precision::Confusion()); + /*TopoDS_Shape surfFace = BRepBuilderAPI_MakeFace(pipeSurf, Precision::Confusion()); Handle(AIS_InteractiveContext) myAISContext = ViewerTest::GetAISContext(); Handle(AIS_Shape) aShape = new AIS_Shape(surfFace); - myAISContext->Display(aShape, AIS_Shaded, 0, true); + myAISContext->Display(aShape, AIS_Shaded, 0, true);*/ return 0; } -- 2.39.5