mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0026570: Crash on attempt to rotate a shape.
An extended draw-command trotate (ttranslate, tmirror, ...) by an additional parameter "-copy". New check of edge range is added in BRepCheck/BRepCheck_Edge.cxx The same checking is added in ShapeAnalysis_Edge.cxx Fixing this problem is added in ShapeFix_Wire.cxx GeomLib::SameRange(...) and BRepTools_TrsfModification::NewCurve2d(...) are modified to avoid exception in TrimmedCurve
This commit is contained in:
@@ -170,7 +170,12 @@ public:
|
||||
//! If deviation is greater than tolerance of the edge (i.e.
|
||||
//! incorrect flag) returns False, else returns True.
|
||||
Standard_EXPORT Standard_Boolean CheckSameParameter (const TopoDS_Edge& theEdge, const TopoDS_Face& theFace, Standard_Real& theMaxdev, const Standard_Integer theNbControl = 23);
|
||||
|
||||
|
||||
//! Checks possibility for pcurve thePC to have range [theFirst, theLast] (edge range)
|
||||
//! having respect to real first, last parameters of thePC
|
||||
Standard_EXPORT Standard_Boolean CheckPCurveRange (const Standard_Real theFirst, const Standard_Real theLast,
|
||||
const Handle(Geom2d_Curve)& thePC);
|
||||
|
||||
//! Computes the maximal deviation between the two curve
|
||||
//! representations.
|
||||
//! dev is an input/output parameter and contains the computed
|
||||
|
Reference in New Issue
Block a user