mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
PointInd for edge on closed surf
This commit is contained in:
parent
bcbd390f7d
commit
6d6e297a1f
@ -1885,12 +1885,10 @@ namespace netgen
|
|||||||
|
|
||||||
if (seg1.domin != -1 || seg1.domout != -1)
|
if (seg1.domin != -1 || seg1.domout != -1)
|
||||||
{
|
{
|
||||||
mesh.AddPoint (p1, layer, EDGEPOINT);
|
seg1[0] = mesh.AddPoint (p1, layer, EDGEPOINT);
|
||||||
mesh.AddPoint (p2, layer, EDGEPOINT);
|
seg1[1] = mesh.AddPoint (p2, layer, EDGEPOINT);
|
||||||
seg1[0] = mesh.GetNP()-1;
|
seg2[0] = seg1[1];
|
||||||
seg1[1] = mesh.GetNP();
|
seg2[1] = seg1[0];
|
||||||
seg2[1] = mesh.GetNP()-1;
|
|
||||||
seg2[0] = mesh.GetNP();
|
|
||||||
seg1.geominfo[0].trignum = 1;
|
seg1.geominfo[0].trignum = 1;
|
||||||
seg1.geominfo[1].trignum = 1;
|
seg1.geominfo[1].trignum = 1;
|
||||||
seg2.geominfo[0].trignum = 1;
|
seg2.geominfo[0].trignum = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user