1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0022798: Regression: BRepBuilderAPI_GTransform produces an invalid result on a sphere

This commit is contained in:
JGV
2012-01-27 14:30:51 +00:00
committed by bugmaster
parent 41194117bf
commit 86eff19ec7
3 changed files with 67 additions and 10 deletions

View File

@@ -303,10 +303,10 @@ class ProjLib_PolarFunction : public AppCont_Function2d
~ProjLib_PolarFunction() {}
Standard_Real FirstParameter() const
{return (myCurve->FirstParameter()+1.e-9);}
{return (myCurve->FirstParameter()/*+1.e-9*/);}
Standard_Real LastParameter() const
{return (myCurve->LastParameter()-1.e-9);}
{return (myCurve->LastParameter()/*-1.e-9*/);}
gp_Pnt2d Value(const Standard_Real t) const {
return Function_Value
@@ -1553,8 +1553,8 @@ Handle(Geom2d_BSplineCurve)
Standard_Integer NbKnots = NbCurves + 1;
// The start and end nodes are not correct : Cf: opening of the interval
Knots( 1) -= 1.e-9;
Knots(NbKnots) += 1.e-9;
//Knots( 1) -= 1.e-9;
//Knots(NbKnots) += 1.e-9;
TColStd_Array1OfInteger Mults( 1, NbKnots);