mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -685,9 +685,8 @@ void ProjLib_ProjectedCurve::Perform(const Handle(Adaptor3d_HCurve)& C)
|
||||
MaxSeg = myMaxSegments;
|
||||
}
|
||||
|
||||
Approx_CurveOnSurface appr(HProjector, mySurface, Udeb, Ufin,
|
||||
myTolerance, Continuity, MaxDegree, MaxSeg,
|
||||
Only3d, Only2d);
|
||||
Approx_CurveOnSurface appr(HProjector, mySurface, Udeb, Ufin, myTolerance);
|
||||
appr.Perform(MaxSeg, MaxDegree, Continuity, Only3d, Only2d);
|
||||
|
||||
Handle(Geom2d_BSplineCurve) aRes = appr.Curve2d();
|
||||
|
||||
|
Reference in New Issue
Block a user