0028065: [Regression to 7.0] The method HLRAppli_ReflectLines::GetResult must be...
authormsv <msv@opencascade.com>
Mon, 7 Nov 2016 17:05:58 +0000 (20:05 +0300)
committerapn <apn@opencascade.com>
Tue, 8 Nov 2016 15:50:50 +0000 (18:50 +0300)
src/HLRAppli/HLRAppli_ReflectLines.cxx
src/HLRAppli/HLRAppli_ReflectLines.hxx

index 9a6fe77..b63708e 100644 (file)
@@ -92,7 +92,7 @@ void HLRAppli_ReflectLines::Perform()
 
 TopoDS_Shape HLRAppli_ReflectLines::GetCompoundOf3dEdges(const HLRBRep_TypeOfResultingEdge type,
                                                          const Standard_Boolean            visible,
-                                                         const Standard_Boolean            In3d)
+                                                         const Standard_Boolean            In3d) const
 {
   HLRBRep_HLRToShape aHLRToShape( myHLRAlgo );
 
@@ -108,7 +108,7 @@ TopoDS_Shape HLRAppli_ReflectLines::GetCompoundOf3dEdges(const HLRBRep_TypeOfRes
 //purpose  :
 //=======================================================================
 
-TopoDS_Shape HLRAppli_ReflectLines::GetResult()
+TopoDS_Shape HLRAppli_ReflectLines::GetResult() const
 {
   return GetCompoundOf3dEdges(HLRBRep_OutLine, Standard_True, Standard_True);
 }
index 2ad5326..0ae15dc 100644 (file)
@@ -51,14 +51,14 @@ public:
   
   //! returns resulting compound of reflect lines
   //! represented by edges in 3d
-  Standard_EXPORT TopoDS_Shape GetResult();
+  Standard_EXPORT TopoDS_Shape GetResult() const;
 
   //! returns resulting compound of lines
   //! of specified type and visibility
   //! represented by edges in 3d or 2d
   Standard_EXPORT TopoDS_Shape GetCompoundOf3dEdges(const HLRBRep_TypeOfResultingEdge type,
                                                     const Standard_Boolean            visible,
-                                                    const Standard_Boolean            In3d);
+                                                    const Standard_Boolean            In3d) const;