mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0028065: [Regression to 7.0] The method HLRAppli_ReflectLines::GetResult must be const
This commit is contained in:
parent
a1565817f1
commit
e7b01db7c4
@ -92,7 +92,7 @@ void HLRAppli_ReflectLines::Perform()
|
|||||||
|
|
||||||
TopoDS_Shape HLRAppli_ReflectLines::GetCompoundOf3dEdges(const HLRBRep_TypeOfResultingEdge type,
|
TopoDS_Shape HLRAppli_ReflectLines::GetCompoundOf3dEdges(const HLRBRep_TypeOfResultingEdge type,
|
||||||
const Standard_Boolean visible,
|
const Standard_Boolean visible,
|
||||||
const Standard_Boolean In3d)
|
const Standard_Boolean In3d) const
|
||||||
{
|
{
|
||||||
HLRBRep_HLRToShape aHLRToShape( myHLRAlgo );
|
HLRBRep_HLRToShape aHLRToShape( myHLRAlgo );
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ TopoDS_Shape HLRAppli_ReflectLines::GetCompoundOf3dEdges(const HLRBRep_TypeOfRes
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
TopoDS_Shape HLRAppli_ReflectLines::GetResult()
|
TopoDS_Shape HLRAppli_ReflectLines::GetResult() const
|
||||||
{
|
{
|
||||||
return GetCompoundOf3dEdges(HLRBRep_OutLine, Standard_True, Standard_True);
|
return GetCompoundOf3dEdges(HLRBRep_OutLine, Standard_True, Standard_True);
|
||||||
}
|
}
|
||||||
|
@ -51,14 +51,14 @@ public:
|
|||||||
|
|
||||||
//! returns resulting compound of reflect lines
|
//! returns resulting compound of reflect lines
|
||||||
//! represented by edges in 3d
|
//! represented by edges in 3d
|
||||||
Standard_EXPORT TopoDS_Shape GetResult();
|
Standard_EXPORT TopoDS_Shape GetResult() const;
|
||||||
|
|
||||||
//! returns resulting compound of lines
|
//! returns resulting compound of lines
|
||||||
//! of specified type and visibility
|
//! of specified type and visibility
|
||||||
//! represented by edges in 3d or 2d
|
//! represented by edges in 3d or 2d
|
||||||
Standard_EXPORT TopoDS_Shape GetCompoundOf3dEdges(const HLRBRep_TypeOfResultingEdge type,
|
Standard_EXPORT TopoDS_Shape GetCompoundOf3dEdges(const HLRBRep_TypeOfResultingEdge type,
|
||||||
const Standard_Boolean visible,
|
const Standard_Boolean visible,
|
||||||
const Standard_Boolean In3d);
|
const Standard_Boolean In3d) const;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user