mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
fix edge projection
This commit is contained in:
parent
1c36ff9868
commit
7962f0a1bb
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user