1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

#32471 Mesh - Deflection of the triangulation is not recomputed for planar face

Correction fix for CR32741 to provide binary compatibility with Products 750
This commit is contained in:
gka 2021-10-11 12:50:19 +03:00
parent 219a259720
commit 4d1bf2f6fd
2 changed files with 4 additions and 4 deletions

View File

@ -191,7 +191,7 @@ namespace
if (!aTriangulation.IsNull())
{
aTriangulation->Parameters (myParams);
aTriangulation->Deflection(myParams->Deflection());
}
}

View File

@ -109,10 +109,10 @@ public:
Standard_EXPORT void RemoveUVNodes();
//! Returns initial set of parameters used to generate this triangulation.
const Handle(Poly_TriangulationParameters)& Parameters() const { return myParams; }
//const Handle(Poly_TriangulationParameters)& Parameters() const { return myParams; }
//! Updates initial set of parameters used to generate this triangulation.
void Parameters (const Handle(Poly_TriangulationParameters)& theParams) { myParams = theParams; }
//void Parameters (const Handle(Poly_TriangulationParameters)& theParams) { myParams = theParams; }
//! Returns the number of nodes for this triangulation.
Standard_Integer NbNodes() const { return myNodes.Length(); }
@ -215,7 +215,7 @@ protected:
Poly_Array1OfTriangle myTriangles;
Handle(TShort_HArray1OfShortReal) myNormals;
Handle(Poly_TriangulationParameters) myParams;
//Handle(Poly_TriangulationParameters) myParams;
};
#endif // _Poly_Triangulation_HeaderFile