mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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:
parent
219a259720
commit
4d1bf2f6fd
@ -191,7 +191,7 @@ namespace
|
|||||||
|
|
||||||
if (!aTriangulation.IsNull())
|
if (!aTriangulation.IsNull())
|
||||||
{
|
{
|
||||||
aTriangulation->Parameters (myParams);
|
aTriangulation->Deflection(myParams->Deflection());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,10 +109,10 @@ public:
|
|||||||
Standard_EXPORT void RemoveUVNodes();
|
Standard_EXPORT void RemoveUVNodes();
|
||||||
|
|
||||||
//! Returns initial set of parameters used to generate this triangulation.
|
//! 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.
|
//! 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.
|
//! Returns the number of nodes for this triangulation.
|
||||||
Standard_Integer NbNodes() const { return myNodes.Length(); }
|
Standard_Integer NbNodes() const { return myNodes.Length(); }
|
||||||
@ -215,7 +215,7 @@ protected:
|
|||||||
Poly_Array1OfTriangle myTriangles;
|
Poly_Array1OfTriangle myTriangles;
|
||||||
Handle(TShort_HArray1OfShortReal) myNormals;
|
Handle(TShort_HArray1OfShortReal) myNormals;
|
||||||
|
|
||||||
Handle(Poly_TriangulationParameters) myParams;
|
//Handle(Poly_TriangulationParameters) myParams;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _Poly_Triangulation_HeaderFile
|
#endif // _Poly_Triangulation_HeaderFile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user