mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 06:00:33 +05:00
Consistent parameters for CSGeometry::FindIdenticSurfaces
also don't call it in Draw() (already done in constructor)
This commit is contained in:
parent
6f0a486d20
commit
00d6c94bd9
@ -417,7 +417,7 @@ namespace netgen
|
|||||||
& identpoints & boundingbox & isidenticto & ideps
|
& identpoints & boundingbox & isidenticto & ideps
|
||||||
& filename & spline_surfaces & splinecurves2d & splinecurves3d & surf2prim;
|
& filename & spline_surfaces & splinecurves2d & splinecurves3d & surf2prim;
|
||||||
if(archive.Input())
|
if(archive.Input())
|
||||||
FindIdenticSurfaces(1e-6);
|
FindIdenticSurfaces(1e-8 * MaxSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSGeometry :: SaveSurfaces (ostream & out) const
|
void CSGeometry :: SaveSurfaces (ostream & out) const
|
||||||
|
@ -676,7 +676,6 @@ However, when r = 0, the top part becomes a point(tip) and meshing fails!
|
|||||||
.def("Draw", FunctionPointer
|
.def("Draw", FunctionPointer
|
||||||
([] (shared_ptr<CSGeometry> self)
|
([] (shared_ptr<CSGeometry> self)
|
||||||
{
|
{
|
||||||
self->FindIdenticSurfaces(1e-6);
|
|
||||||
self->CalcTriangleApproximation(0.01, 20);
|
self->CalcTriangleApproximation(0.01, 20);
|
||||||
ng_geometry = self;
|
ng_geometry = self;
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user