Path: Fix PointProjectionFailed in rebaseWire()

This commit is contained in:
younghang
2022-05-16 10:08:35 +08:00
committed by GitHub
parent 7630ee024b
commit 07d7ced8ec

View File

@@ -2615,7 +2615,7 @@ struct ShapeInfo{
GeomAPI_ProjectPointOnCurve gpp;
gpp.Init( myBestPt,curve);
gpp.Perform(myBestPt);
myBestPt=c.NearestPoint();
myBestPt= gpp.NearestPoint();
gpp.Perform(pprev);
pprev = gpp.NearestPoint();