occt: master 5e5b6f81

Author Committer Branch Timestamp Parent
abv apn master 2014-06-05 10:14:14 master 3a01a933
Affected Issues  0024955: Misuse of DownCast
Changeset 0024955: Misuse of DownCast

Code where DownCast was applied to Handle of the type being not a base class of the target one is revised and (hopefully) corrected.
Code corrected following review remarks
GeomConvert::CurveToBSplineCurve() is called even for b-spline curves to ensure that result is non-periodic
Check for conic is corrected
mod - src/AIS/AIS_Dimension.cxx Diff File
mod - src/AIS/AIS_InteractiveObject.cxx Diff File
mod - src/BRepFill/BRepFill_NSections.cxx Diff File
mod - src/BRepOffsetAPI/BRepOffsetAPI_ThruSections.cxx Diff File
mod - src/GeomFill/GeomFill_NSections.cxx Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_FaceDivide.cdl Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_ShapeDivideAngle.cxx Diff File