mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0030146: Visualization - exception during attempt to display Edge without geometry
StdPrs_ToolRFace no skips curves with NULL curves. Code has been cleaned up from duplicated checks, redundant casts and dummy Adaptor2d_Curve2dPtr typedef. StdSelect_BRepSelectionTool::GetSensitiveForFace() now catches Standard_NullObject exception to skip invalid Edges.
This commit is contained in:
@@ -86,7 +86,10 @@ public:
|
||||
//! is raised if the edge does not have a pcurve on
|
||||
//! the face.
|
||||
Standard_EXPORT BRepAdaptor_Curve(const TopoDS_Edge& E, const TopoDS_Face& F);
|
||||
|
||||
|
||||
//! Reset currently loaded curve (undone Load()).
|
||||
Standard_EXPORT void Reset();
|
||||
|
||||
//! Sets the Curve <me> to acces to the geometry of
|
||||
//! edge <E>.
|
||||
Standard_EXPORT void Initialize (const TopoDS_Edge& E);
|
||||
|
Reference in New Issue
Block a user