]> OCCT Git - occt.git/commit
0031773: Visualization - add Prs3d_ToolTorus
authormzernova <mzernova@opencascade.com>
Thu, 17 Sep 2020 19:55:27 +0000 (22:55 +0300)
committermzernova <mzernova@opencascade.com>
Mon, 21 Sep 2020 09:36:27 +0000 (12:36 +0300)
commit113bda7072530e42c07389c6e000207431cec9f3
treeff83db057dccf907ceeeb171b2bc0ec918026f39
parentb0b766826118f74b9857a932b8cec8c52a25c492
0031773: Visualization - add Prs3d_ToolTorus

Added Prs3d_ToolTorus tool to create a torus

Added DRAW commands:
- vtorus
- vcylinder
- vsphere

Added test cases:
- v3d/quadric/torus
- v3d/quadric/cylinder
- v3d/quadric/sphere
21 files changed:
src/BRepPrim/BRepPrim_Cylinder.hxx
src/BRepPrim/BRepPrim_Torus.hxx
src/BRepPrimAPI/BRepPrimAPI_MakeCone.hxx
src/BRepPrimAPI/BRepPrimAPI_MakeCylinder.hxx
src/BRepPrimAPI/BRepPrimAPI_MakeSphere.hxx
src/BRepPrimAPI/BRepPrimAPI_MakeTorus.hxx
src/BRepTest/BRepTest_PrimitiveCommands.cxx
src/Prs3d/FILES
src/Prs3d/Prs3d_ToolCylinder.hxx
src/Prs3d/Prs3d_ToolDisk.hxx
src/Prs3d/Prs3d_ToolQuadric.hxx
src/Prs3d/Prs3d_ToolSector.hxx
src/Prs3d/Prs3d_ToolSphere.hxx
src/Prs3d/Prs3d_ToolTorus.cxx [new file with mode: 0644]
src/Prs3d/Prs3d_ToolTorus.hxx [new file with mode: 0644]
src/ViewerTest/ViewerTest_ObjectCommands.cxx
tests/v3d/grids.list
tests/v3d/quadric/begin [new file with mode: 0644]
tests/v3d/quadric/cylinder [new file with mode: 0644]
tests/v3d/quadric/sphere [new file with mode: 0644]
tests/v3d/quadric/torus [new file with mode: 0644]