MantisBT - Community
View Issue Details
0008563Community[OCCT] OCCT:Visualizationpublic2005-04-08 08:092011-12-15 16:37
szv 
ael 
normaltrivial 
closedfixed 
All
 
[OCCT] 5.2.3 
0008563: Incorrect comparison in StdPrs_ToolShadedShape::Normal
This problem was reported in the Forum thread
http://www.opencascade.org/org/forum/thread_7915/?add_id=7915. [^]

In StdPrs_ToolShadedeShape.cxx, lione 73 in function:

void StdPrs_ToolShadedShape::Normal(const TopoDS_Face& aFace,
Poly_Connect& pc,
TColgp_Array1OfDir& Nor)

the original line is:
if (!S.GetType() == GeomAbs_Plane) {

I think it should be sg like:
if (S.GetType() != GeomAbs_Plane) {
... // lots of normal calculation
}
else {
... //one normal calculation
}
Documentation remark, added by ael 2005-07-01 07:40:10:

Changes:
Code correction
Modified entities:
StdPrs/ToolShadedShape/Normal
No tags attached.
gz ael-OCC8563-v1.tar.gz (1,380) 2005-07-01 07:40
https://tracker.dev.opencascade.org/
Issue History
2005-06-06 12:01bugmasterAssigned Tobugmaster => san
2005-06-06 12:01bugmasterStatusnew => assigned
2005-06-07 10:42sanAssigned Tosan => ael
2005-07-07 10:35vtnStatusassigned => resolved
2005-07-22 17:57mkvCC => mkv
2005-07-25 13:55bugmasterStatusresolved => tested
2005-07-25 14:00bugmasterStatustested => verified
2005-08-03 15:19bugmasterStatusverified => closed
2005-08-03 15:19bugmasterResolution@0@ => fixed
2011-08-02 11:24bugmasterCategoryOCCT:VIZ => OCCT:Visualization
2011-12-15 16:37abvDescription Updatedbug_revision_view_page.php?rev_id=1275#r1275
2011-12-15 16:37abvAdditional Information Updatedbug_revision_view_page.php?rev_id=1277#r1277
2011-12-15 16:37abvProjectOpen CASCADE => Community

Notes
(0010098)
bugmaster   
2005-07-11 12:42   
Dear APV,

Please add fix to bug :

Created an attachment (ael-OCC8563-v1.tar.gz)
Patch

to common testing workbench for ordinary bugs

Bugmaster
(0010099)
apv   
2005-07-22 13:30   
Dear BugMaster,

According to the your recomendation, the source file for fixing OCC8563 has been
put to the queue KAS:dev:ros.