mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025246: Make methods Intervals and NbIntervals const in Adaptor3d_Curve and it descendants
Qualifier "const" added to NbIntervals and Intervals functions. Fixed Standard_OVERRIDE macro description Removed obsolete method declaration from Standard_Transient.cdl
This commit is contained in:
@@ -229,7 +229,7 @@ GeomAbs_Shape Adaptor3d_IsoCurve::Continuity() const
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Standard_Integer Adaptor3d_IsoCurve::NbIntervals(const GeomAbs_Shape S)
|
||||
Standard_Integer Adaptor3d_IsoCurve::NbIntervals(const GeomAbs_Shape S) const
|
||||
{
|
||||
if (myIso == GeomAbs_NoneIso) Standard_NoSuchObject::Raise();
|
||||
Standard_Boolean UIso = (myIso == GeomAbs_IsoU);
|
||||
@@ -260,7 +260,7 @@ Standard_Integer Adaptor3d_IsoCurve::NbIntervals(const GeomAbs_Shape S)
|
||||
//=======================================================================
|
||||
|
||||
void Adaptor3d_IsoCurve::Intervals(TColStd_Array1OfReal& TI,
|
||||
const GeomAbs_Shape S)
|
||||
const GeomAbs_Shape S) const
|
||||
{
|
||||
if (myIso == GeomAbs_NoneIso) Standard_NoSuchObject::Raise();
|
||||
Standard_Boolean UIso = (myIso == GeomAbs_IsoU);
|
||||
|
Reference in New Issue
Block a user