From: kgv Date: Fri, 23 Oct 2020 08:35:15 +0000 (+0300) Subject: 0031875: Draw Harness, ViewerTest - command vaspects -mostContinuity lacks g1 and... X-Git-Tag: V7_5_0~16 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FIR-2020-10-23;p=occt.git 0031875: Draw Harness, ViewerTest - command vaspects -mostContinuity lacks g1 and g2 options vaspects -mostContinuity now accepts g1 and g2 values. --- diff --git a/src/ViewerTest/ViewerTest.cxx b/src/ViewerTest/ViewerTest.cxx index e2faedd149..4bae4f7574 100644 --- a/src/ViewerTest/ViewerTest.cxx +++ b/src/ViewerTest/ViewerTest.cxx @@ -2962,11 +2962,19 @@ static Standard_Integer VAspects (Draw_Interpretor& theDI, { aClass = GeomAbs_C0; } + else if (aClassArg == "g1") + { + aClass = GeomAbs_G1; + } else if (aClassArg == "c1" || aClassArg == "1") { aClass = GeomAbs_C1; } + else if (aClassArg == "g2") + { + aClass = GeomAbs_G2; + } else if (aClassArg == "c2" || aClassArg == "2") { @@ -6644,7 +6652,7 @@ void ViewerTest::Commands(Draw_Interpretor& theCommands) "\n\t\t: [-unsetShadingModel]" "\n\t\t: [-interior {solid|hatch|hidenline|point}] [-setHatch HatchStyle]" "\n\t\t: [-unsetInterior]" - "\n\t\t: [-faceBoundaryDraw {0|1}] [-mostContinuity {c0|c1|c2|c3|cn}]" + "\n\t\t: [-faceBoundaryDraw {0|1}] [-mostContinuity {c0|g1|c1|g2|c2|c3|cn}]" "\n\t\t: [-faceBoundaryWidth LineWidth] [-faceBoundaryColor R G B] [-faceBoundaryType LineType]" "\n\t\t: [-drawEdges {0|1}] [-edgeType LineType] [-edgeColor R G B] [-quadEdges {0|1}]" "\n\t\t: [-drawSilhouette {0|1}]"