mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Revert "Automatically select correct chart in MeshOptimizeSTLSurface::GetNormalVector"
This reverts commit d4b376024a
.
This commit is contained in:
parent
d4b376024a
commit
ed5ea4408f
@ -1108,15 +1108,8 @@ int MeshOptimizeSTLSurface :: CalcPointGeomInfo(PointGeomInfo& gi, const Point<
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MeshOptimizeSTLSurface :: GetNormalVector(INDEX surfind, const Point<3> & p, PointGeomInfo & gi, Vec<3> & n) const;
|
|
||||||
{
|
|
||||||
throw Exception("MeshOptimizeSTLSurface :: GetNormalVector without PointGeomInfo called");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void MeshOptimizeSTLSurface :: GetNormalVector(INDEX surfind, const Point<3> & p, Vec<3> & n) const
|
void MeshOptimizeSTLSurface :: GetNormalVector(INDEX surfind, const Point<3> & p, Vec<3> & n) const
|
||||||
{
|
{
|
||||||
geom.SelectChartOfTriangle (gi.trignum)
|
|
||||||
n = geom.GetChartNormalVector();
|
n = geom.GetChartNormalVector();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,8 +85,7 @@ public:
|
|||||||
///
|
///
|
||||||
virtual int CalcPointGeomInfo(PointGeomInfo& gi, const Point<3> & p3) const;
|
virtual int CalcPointGeomInfo(PointGeomInfo& gi, const Point<3> & p3) const;
|
||||||
///
|
///
|
||||||
void GetNormalVector(INDEX surfind, const Point<3> & p, Vec<3> & n) const override;
|
virtual void GetNormalVector(INDEX surfind, const Point<3> & p, Vec<3> & n) const;
|
||||||
void GetNormalVector(INDEX surfind, const Point<3> & p, PointGeomInfo & gi, Vec<3> & n) const override;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user