Commit eae1f83a authored by Theophile Terraz's avatar Theophile Terraz
Browse files

remove GL doublons

parent a738bf36
No related merge requests found
Pipeline #52583 passed with stages
in 55 seconds
Showing with 3 additions and 1 deletion
+3 -1
......@@ -762,10 +762,11 @@ class Reach(SQLSubModel):
# on double le point a gauche
new_profiles[isect].insert_point(j0,new_profiles[isect].points[j0])
beta[j0]=beta[j0-1]
new_profiles[isect].points[j0+1].name('')
else:
p = PointXYZ(x = (1.0-ratio)*new_profiles[isect].points[j0].x + ratio*new_profiles[isect].points[j0].x,
y = (1.0-ratio)*new_profiles[isect].points[j0].y + ratio*new_profiles[isect].points[j0].y,
z = (1.0-ratio)*new_profiles[isect].points[j0].z + ratio*new_profiles[isect].points[j0].z,
z = (1.0-ratio)*new_profiles[isect].points[j0].z + ratio*new_profiles[isect].points[j0].z
)
new_profiles[isect].insert_point(j0,p)
......@@ -815,6 +816,7 @@ class Reach(SQLSubModel):
if (ratio < 0.0):
# on double le point a gauche
new_profiles[isect].insert_point(j0,new_profiles[isect].points[j0])
new_profiles[isect].points[j0+1].name('')
beta[j0]=beta[j0-1]
else:
p = PointXYZ(x = (1.0-ratio)*new_profiles[isect].points[j0].x + ratio*new_profiles[isect].points[j0].x,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment