View Issue Details

IDProjectCategoryView StatusLast Update
0020766Open CASCADEOCCT:Modeling Algorithmspublic2009-06-24 17:41
ReportermpvAssigned Tomkv 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.3.1 
Summary0020766: Intersection of cone with plane in apex point crashes
DescriptionThe next simple C++ example causes exception:

  Handle(Geom_Plane) aPlane = new Geom_Plane(1, 0, 0, 3522.4299999999998);
  Handle(Geom_ConicalSurface) aCone = new Geom_ConicalSurface(gp_Ax3(gp_Pnt(-
3522.4299999999998, 2540, -1461.4300000000001),
                                          gp_Dir(5449.7857099692965, 0, 5537.
6938973109054)), 0.46689346637921703, 0.);
  GeomAPI_IntSS aSS(aCone, aPlane, 1.e-7);

Sqrt of negative value is calculated in "void IntAna_QuadQuadGeo::Perform(const
gp_Pln& P, const gp_Cone& Co, const Standard_Real Tolang, const Standard_Real
Tol)".

How to fix:

    else if (sint > sina) { // plan "interieur" au cone
change to
    else if (cost < sina) { // plan "interieur" au cone
TagsNo tags attached.
Test case number

Attached Files

  • OCC20766-v1-mkv.tar.gz (34,879 bytes)
  • OCC20766-draw-command.tar.gz (62,626 bytes)

Activities

2008-12-26 15:25

 

OCC20766-v1-mkv.tar.gz (34,879 bytes)

2009-06-04 14:53

 

OCC20766-draw-command.tar.gz (62,626 bytes)

Issue History

Date Modified Username Field Change
2008-12-12 11:45 bugmaster Assigned To bugmaster => mkv
2008-12-12 11:45 bugmaster Status new => assigned
2008-12-26 17:26 mkv Status assigned => resolved
2008-12-26 17:26 mkv Status resolved => tested
2008-12-30 16:46 bugmaster Status tested => verified
2009-06-24 19:41 bugmaster Status verified => closed
2009-06-24 19:41 bugmaster Resolution @0@ => fixed
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms