]> OCCT Git - occt.git/commit
0032652: Visualization - Select3D_SensitiveCylinder returns wrong 3D point on transfo...
authorkgv <kgv@opencascade.com>
Tue, 9 Nov 2021 12:17:43 +0000 (15:17 +0300)
committerkgv <kgv@opencascade.com>
Fri, 19 Nov 2021 07:13:36 +0000 (10:13 +0300)
commit660a8938a3750fca678c10ea5a9ee9e124dfb216
treeeb7f7a88633f77e709d453504d3ba0732b586957
parent642ddd12535256cbea73f24f05481565845b4d30
0032652: Visualization - Select3D_SensitiveCylinder returns wrong 3D point on transformed shape

SelectMgr_RectangularFrustum::OverlapsCylinder() - added missing 3D point transformation.
StdSelect_BRepSelectionTool::ComputeSensitive() - fixed cylinder height computation on TopoDS_Shape with scale transformation.
SelectMgr_AxisIntersector::OverlapsCylinder(),::OverlapsSphere() - added missing computations of surface normal.
22 files changed:
src/SelectMgr/SelectMgr_AxisIntersector.cxx
src/SelectMgr/SelectMgr_RectangularFrustum.cxx
src/StdSelect/StdSelect_BRepSelectionTool.cxx
tests/vselect/cone_cylinder/begin [deleted file]
tests/vselect/cone_cylinder/check_depth
tests/vselect/cone_cylinder/detecting
tests/vselect/cone_cylinder/generate_images
tests/vselect/cone_cylinder/polygon_selection
tests/vselect/cone_cylinder/rectangle_selection
tests/vselect/cone_cylinder/single_click_selection_cone
tests/vselect/cone_cylinder/single_click_selection_cylinder
tests/vselect/cone_cylinder/single_click_selection_trunc_cone
tests/vselect/cone_cylinder/trsf_cone [new file with mode: 0644]
tests/vselect/cone_cylinder/trsf_cyl [new file with mode: 0644]
tests/vselect/sphere/begin [deleted file]
tests/vselect/sphere/check_depth
tests/vselect/sphere/detecting
tests/vselect/sphere/generate_images
tests/vselect/sphere/polygon_selection
tests/vselect/sphere/rectangle_selection
tests/vselect/sphere/single_click_selection
tests/vselect/sphere/trsf [new file with mode: 0644]