0023174: BRepLib_MakeFace(Wire) creates an invalid face on a wire of cylinder bottom
authoreap <eap@opencascade.com>
Fri, 8 Jun 2012 08:34:06 +0000 (12:34 +0400)
committereap <eap@opencascade.com>
Fri, 8 Jun 2012 08:34:06 +0000 (12:34 +0400)
commit0f5cd7d5bb33dd489a3bde1ec58abf77d12b78c1
tree285c466a0a08e1fc56a524762b960b0ebbac15cd
parent3f0a1ac7b0081faa5651180413da35c4e07ab939
0023174: BRepLib_MakeFace(Wire) creates an invalid face on a wire of cylinder bottom
Is2DClosed() added to reject an improper existing surface
Add OnlyClosed=Standard_False argument
Call BRepLib_FindSurface with OnlyClosed=Standard_True
fix Is2DClosed() to check intermediate points of wire in 2D
fix Is2DClosed() - correct tolerance used for the last point
fix Is2DClosed() - correct getting 2d points to compare
src/BRepLib/BRepLib_FindSurface.cdl
src/BRepLib/BRepLib_FindSurface.cxx
src/BRepLib/BRepLib_MakeFace.cxx