mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0029606: [Regression vs 7.0] BRepClass3d_SolidClassifier classifies the point as IN while it is ON
Simple treatment of some analytical cases when curve is parallel or belongs surface is added in curve - face/surface intersection algorithm Treatment such cases is added in classifier algorithm Test case added
This commit is contained in:
@@ -113,7 +113,12 @@ public:
|
||||
//! or TopAbs_ON
|
||||
//! ( the point is on a boudary of the face).
|
||||
TopAbs_State State (const Standard_Integer I) const;
|
||||
|
||||
|
||||
//! Returns true if curve is parallel or belongs face surface
|
||||
//! This case is recognized only for some pairs
|
||||
//! of analytical curves and surfaces (plane - line, ...)
|
||||
Standard_Boolean IsParallel() const;
|
||||
|
||||
//! Returns the significant face used to determine
|
||||
//! the intersection.
|
||||
const TopoDS_Face& Face() const;
|
||||
@@ -160,6 +165,9 @@ private:
|
||||
Standard_Address PtrOnPolyhedron;
|
||||
Standard_Address PtrOnBndBounding;
|
||||
Standard_Boolean myUseBoundTol;
|
||||
Standard_Boolean myIsParallel; //Curve is "parallel" face surface
|
||||
//This case is recognized only for some pairs
|
||||
//of analytical curves and surfaces (plane - line, ...)
|
||||
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user