mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Remove MeshOptimize2d::SelectSurfaceOfPoint()
This commit is contained in:
parent
893df3a79f
commit
fea75d6ff5
@ -318,12 +318,10 @@ namespace netgen
|
||||
nv2.Normalize();
|
||||
|
||||
Vec<3> nvp3, nvp4;
|
||||
SelectSurfaceOfPoint (mesh.Point(pi3), gi3);
|
||||
GetNormalVector (surfnr, mesh.Point(pi3), gi3, nvp3);
|
||||
|
||||
nvp3.Normalize();
|
||||
|
||||
SelectSurfaceOfPoint (mesh.Point(pi4), gi4);
|
||||
GetNormalVector (surfnr, mesh.Point(pi4), gi4, nvp4);
|
||||
|
||||
nvp4.Normalize();
|
||||
@ -530,7 +528,6 @@ namespace netgen
|
||||
for (int k = 0; k < 3; k++)
|
||||
if (hel[k] == pi)
|
||||
{
|
||||
SelectSurfaceOfPoint (mesh[pi], hel.GeomInfoPi(k+1));
|
||||
GetNormalVector (surfnr, mesh[pi], hel.GeomInfoPi(k+1), normals[pi]);
|
||||
break;
|
||||
}
|
||||
@ -624,8 +621,6 @@ namespace netgen
|
||||
for (int k = 0; k < 3; k++)
|
||||
if (hel[k] == pi1)
|
||||
{
|
||||
SelectSurfaceOfPoint (mesh[pi1],
|
||||
hel.GeomInfoPi(k+1));
|
||||
GetNormalVector (surfnr, mesh[pi1], hel.GeomInfoPi(k+1), nv);
|
||||
break;
|
||||
}
|
||||
|
@ -36,9 +36,6 @@ public:
|
||||
|
||||
|
||||
|
||||
///
|
||||
virtual void SelectSurfaceOfPoint (const Point<3> & p,
|
||||
const PointGeomInfo & gi);
|
||||
///
|
||||
virtual void ProjectPoint (INDEX /* surfind */, Point<3> & /* p */) const { };
|
||||
|
||||
|
@ -397,7 +397,6 @@ namespace netgen
|
||||
double bad1 = 0, bad2 = 0;
|
||||
Vec<3> n;
|
||||
|
||||
SelectSurfaceOfPoint (mesh.Point(pmap.Get(1)), pgi.Get(1));
|
||||
GetNormalVector (surfnr, mesh.Point(pmap.Get(1)), pgi.Elem(1), n);
|
||||
|
||||
for (int j = 0; j < rule.oldels.Size(); j++)
|
||||
|
@ -707,12 +707,6 @@ namespace netgen
|
||||
}
|
||||
|
||||
|
||||
void MeshOptimize2d :: SelectSurfaceOfPoint (const Point<3> & p,
|
||||
const PointGeomInfo & gi)
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
void MeshOptimize2d :: ImproveMesh (Mesh & mesh, const MeshingParameters & mp)
|
||||
{
|
||||
if (!faceindex)
|
||||
@ -959,7 +953,6 @@ namespace netgen
|
||||
}
|
||||
|
||||
ld.gi1 = hel.GeomInfoPi(hpi);
|
||||
SelectSurfaceOfPoint (ld.sp1, ld.gi1);
|
||||
|
||||
ld.locelements.SetSize(0);
|
||||
ld.locrots.SetSize (0);
|
||||
|
@ -1064,15 +1064,6 @@ MeshOptimizeSTLSurface :: MeshOptimizeSTLSurface (STLGeometry & ageom)
|
||||
}
|
||||
|
||||
|
||||
void MeshOptimizeSTLSurface :: SelectSurfaceOfPoint (const Point<3> & p,
|
||||
const PointGeomInfo & gi)
|
||||
{
|
||||
// (*testout) << "sel char: " << gi.trignum << endl;
|
||||
|
||||
geom.SelectChartOfTriangle (gi.trignum);
|
||||
// geom.SelectChartOfPoint (p);
|
||||
}
|
||||
|
||||
|
||||
void MeshOptimizeSTLSurface :: ProjectPoint (INDEX surfind, Point<3> & p) const
|
||||
{
|
||||
|
@ -75,9 +75,6 @@ public:
|
||||
///
|
||||
MeshOptimizeSTLSurface (STLGeometry & ageom);
|
||||
|
||||
///
|
||||
void SelectSurfaceOfPoint (const Point<3> & p,
|
||||
const PointGeomInfo & gi) override;
|
||||
///
|
||||
void ProjectPoint (INDEX surfind, Point<3> & p) const override;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user