MantisBT - Community
View Issue Details
0025818Community[OCCT] OCCT:Modeling Algorithmspublic2015-02-11 03:362015-05-14 15:31
Aaron Michalk 
bugmaster 
normalminor 
closedfixed 
WindowsVC++ 201332 bit
[OCCT] 6.8.0 
[OCCT] 6.9.0[OCCT] 6.9.0 
bugs modalg_5(010) bug25818
0025818: IntTools_FaceFace throws Standard_ConstructionError with two unbounded planes
The following code throws a Standard_ConstructionError when run.
Handle_Geom_Plane plane1(new Geom_Plane(gp_Ax3(gp_Pnt(0, 0, 0), gp_Dir(0, 0, 1), gp_Dir(1, 0, 0))));
Handle_Geom_Plane plane2(new Geom_Plane(gp_Ax3(gp_Pnt(0, 0, 0), gp_Dir(1, 0, 0), gp_Dir(0, 1, 0))));
BRep_Builder builder;
TopoDS_Face face1, face2;
builder.MakeFace(face1, plane1, Precision::Confusion());
builder.MakeFace(face2, plane2, Precision::Confusion());
IntTools_FaceFace intersection;
intersection.SetParameters(false, true, true, Precision::Confusion());
intersection.Perform(face1, face2);
#==========================================================
# Use the following DRAW commands to reproduce the problem:
#
plane pn1 0 0 0 0 0 1 1 0 0
plane pn2 0 0 0 1 0 0 0 1 0
mkface f1 pn1
mkface f2 pn2

bopcurves f1 f2
This did not throw the exception in 6.5.5.
No tags attached.
Issue History
2015-02-11 03:36Aaron MichalkNew Issue
2015-02-11 03:36Aaron MichalkAssigned To => msv
2015-02-11 13:14msvAssigned Tomsv => pkv
2015-02-11 13:14msvStatusnew => assigned
2015-03-03 06:37gitNote Added: 0038021
2015-03-03 06:43gitNote Added: 0038022
2015-03-03 06:45pkvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9504#r9504
2015-03-03 06:46pkvStatusassigned => resolved
2015-03-03 06:46pkvNote Added: 0038023
2015-03-03 06:47pkvAssigned Topkv => emv
2015-03-03 08:50emvNote Added: 0038026
2015-03-03 08:50emvAssigned Toemv => mkv
2015-03-03 08:50emvStatusresolved => reviewed
2015-03-05 13:12mkvNote Added: 0038141
2015-03-05 13:12gitNote Added: 0038143
2015-03-05 13:14mkvNote Added: 0038144
2015-03-05 13:14mkvAssigned Tomkv => emv
2015-03-05 13:14mkvStatusreviewed => feedback
2015-03-05 13:14mkvTest case number => bugs modalg_5(010) bug25818
2015-03-05 13:39emvAssigned Toemv => pkv
2015-03-05 13:40pkvNote Added: 0038148
2015-03-05 13:41pkvAssigned Topkv => mkv
2015-03-05 13:42mkvAssigned Tomkv => bugmaster
2015-03-05 13:42mkvStatusfeedback => tested
2015-03-06 15:13bugmasterChangeset attached => occt master 9a5a19e9
2015-03-06 15:13bugmasterStatustested => verified
2015-03-06 15:13bugmasterResolutionopen => fixed
2015-03-10 13:00bugmasterTarget Version => 6.9.0
2015-03-18 13:38gitNote Added: 0038604
2015-05-14 15:29aivStatusverified => closed
2015-05-14 15:31aivFixed in Version => 6.9.0

Notes
(0038021)
git   
2015-03-03 06:37   
Branch CR25818 has been created by pkv.

SHA-1: f1b0b4f9c6344f087fcb296cac5424492bee0628


No new revisions were added by this update.
(0038022)
git   
2015-03-03 06:43   
Branch CR25818 has been updated by pkv.

SHA-1: ee57417da161b8de614f762257f7eb981f6bc9bc


Detailed log of new commits:

Author: pkv
Date: Tue Mar 3 06:43:08 2015 +0300

    0025818: IntTools_FaceFace throws Standard_ConstructionError with two unbounded planes
    
    I. New features:
    No new features.
    
    II. Changes:
    II.1. class IntTools_FaceFace
        - method:
     void IntTools_FaceFace::Perform(const TopoDS_Face& aF1,
                                    const TopoDS_Face& aF2)
    The treatment of infinite planes was corrected.
    
    III. Modified entities:
    packages:
    IntTools

(0038023)
pkv   
2015-03-03 06:46   
Git branch CR25818 is ready to be reviewed.
(0038026)
emv   
2015-03-03 08:50   
Reviewed.
(0038141)
mkv   
2015-03-05 13:12   
Dear BugMaster,
Branch CR25818 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
SHA-1: ee57417da161b8de614f762257f7eb981f6bc9bc

Number of compiler warnings:

occt component :
Linux: 18 (18 on master)
Windows: 2 (2 on master)

products component :
Linux: 11 (11 on master)
Windows: 4 (4 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
http://occt-tests/CR25818-master-occt-64/Debian60-64/bugs/modalg_5/bug25818.html [^]
http://occt-tests/CR25818-master-occt-64/Windows-64-VC10/bugs/modalg_5/bug25818.html [^]
bugs modalg_5(010) bug25818: OK

Testing on Linux:
occt component :
Total MEMORY difference: 91963461 / 91830808
Total CPU difference: 58158.190000000046 / 59519.03999999998
products component :
Total MEMORY difference: 22998561 / 22971803
Total CPU difference: 15335.179999999995 / 16296.599999999988

Testing on Windows:
occt component :
Total MEMORY difference: 57945013 / 57944267
Total CPU difference: 29583.875 / 38926.375
products component :
Total MEMORY difference: 16198070 / 16203200
Total CPU difference: 9815.78125 / 9533.171875

There are no differences in images found by testdiff.
(0038143)
git   
2015-03-05 13:12   
Branch CR25818 has been updated by mkv.

SHA-1: 31cc08a7f2af0bde105b233b18e328a412946b95


Detailed log of new commits:

Author: mkv
Date: Thu Mar 5 13:12:18 2015 +0300

    Test case for issue CR25818

(0038144)
mkv   
2015-03-05 13:14   
Dear emv,
could you please review test case
bugs modalg_5(010) bug25818
(0038148)
pkv   
2015-03-05 13:40   
Ok with
bugs modalg_5(010) bug25818
(0038604)
git   
2015-03-18 13:38   
Branch CR25818 has been deleted by inv.

SHA-1: 31cc08a7f2af0bde105b233b18e328a412946b95