mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Merge branch 'fix_surf_read' into 'master'
Fix .surf file reading. See merge request jschoeberl/netgen!354
This commit is contained in:
commit
cc85def275
@ -42,12 +42,11 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
Point3d p;
|
Point3d p;
|
||||||
in >> p.X() >> p.Y() >> p.Z();
|
in >> p.X() >> p.Y() >> p.Z();
|
||||||
p.Z() *= 10;
|
|
||||||
mesh.AddPoint (p);
|
mesh.AddPoint (p);
|
||||||
}
|
}
|
||||||
|
|
||||||
mesh.ClearFaceDescriptors();
|
mesh.ClearFaceDescriptors();
|
||||||
mesh.AddFaceDescriptor (FaceDescriptor(0,1,0,0));
|
mesh.AddFaceDescriptor (FaceDescriptor(1,1,0,0));
|
||||||
|
|
||||||
in >> nbe;
|
in >> nbe;
|
||||||
// int invert = globflags.GetDefineFlag ("invertsurfacemesh");
|
// int invert = globflags.GetDefineFlag ("invertsurfacemesh");
|
||||||
|
Loading…
Reference in New Issue
Block a user