1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0029939: Modeling Algorithms - add NULL check to BRepGProp_Face::Load()

BRepGProp_Face::Load() has been protected against crash in case of edges without p-curves.
This commit is contained in:
kgv
2018-07-04 12:09:50 +03:00
committed by bugmaster
parent e119b6c3c7
commit 8ff2e494f5
4 changed files with 238 additions and 13 deletions

View File

@@ -101,7 +101,8 @@ public:
Standard_EXPORT void Normal (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& VNor) const;
//! Loading the boundary arc.
Standard_EXPORT void Load (const TopoDS_Edge& E);
//! Returns FALSE if edge has no P-Curve.
Standard_EXPORT bool Load (const TopoDS_Edge& E);
//! Returns the parametric value of the start point of
//! the current arc of curve.