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

0030932: Modeling Algorithms - Invalid result on 2d curve on surface approximation

New method generating 3D curve is added when 2D curve is linear isoline.
This commit is contained in:
aml
2019-09-13 11:47:17 +03:00
committed by apn
parent c08fd12706
commit f04de1335c
12 changed files with 347 additions and 54 deletions

View File

@@ -300,10 +300,9 @@ Handle(Geom2d_Curve) GeomPlate_BuildPlateSurface::ProjectCurve(const Handle(Ada
Projector.Bounds(1, Udeb, Ufin);
MaxSeg = 20 + HProjector->NbIntervals(GeomAbs_C3);
Approx_CurveOnSurface appr(HProjector, hsur, Udeb, Ufin, myTol3d,
Continuity, MaxDegree, MaxSeg,
Standard_False, Standard_True);
Approx_CurveOnSurface appr(HProjector, hsur, Udeb, Ufin, myTol3d);
appr.Perform(MaxSeg, MaxDegree, Continuity, Standard_False, Standard_True);
Curve2d = appr.Curve2d();
}
#if DRAW