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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user