fix edge projection

This commit is contained in:
mhochsteger@cerbsim.com 2021-11-30 19:35:06 +01:00
parent 1c36ff9868
commit 7962f0a1bb

View File

@ -69,7 +69,7 @@ namespace netgen
GeomAPI_ProjectPointOnCurve proj(pnt, curve);
pnt = proj.NearestPoint();
if(gi)
gi->dist = proj.LowerDistanceParameter();
gi->dist = (proj.LowerDistanceParameter() - s0)/(s1-s0);
p = occ2ng(pnt);
}