]> OCCT Git - occt.git/commit
0027722: Data Exchange - STEP error for Ellipse revol shape CR27722_2
authoratychini <atychini@opencascade.com>
Thu, 18 Nov 2021 12:52:50 +0000 (15:52 +0300)
committeratychini <atychini@opencascade.com>
Fri, 3 Dec 2021 17:07:13 +0000 (20:07 +0300)
commit3b9283d92e0a4b86c169e4bbd2b9255af8b84420
treee4bbf607c943f1e887e249399651fcca1deecaac
parent4a837ecec21bfe24d9c224c4b59aa9779156f297
0027722: Data Exchange - STEP error for Ellipse revol shape

Bug was fixed by adding new constructor in ShapeAnalysis_Surface class. This constructor gets a TopoDS_Face as a parameter and bounds face with help of BRepTools:UVBounds().
Also I changed callable constructor in some places (where it looks more efficient) from ShapeAnalysis_Surface(const Handle(Geom_Surface)& S) to:
ShapeAnalysis_Surface(const TopoDS_Face& theFace)
12 files changed:
src/ShapeAnalysis/ShapeAnalysis_Surface.cxx
src/ShapeAnalysis/ShapeAnalysis_Surface.hxx
src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx
src/ShapeAnalysis/ShapeAnalysis_Wire.cxx
src/ShapeFix/ShapeFix_ComposeShell.cxx
src/ShapeFix/ShapeFix_EdgeProjAux.cxx
src/ShapeFix/ShapeFix_Face.cxx
src/ShapeFix/ShapeFix_IntersectionTool.cxx
src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.cxx
src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx
tests/bugs/step/bug27722 [new file with mode: 0644]
tests/bugs/xde/bug27722 [deleted file]