diff --git a/src/IntPatch/IntPatch_HCurve2dTool.hxx b/src/IntPatch/IntPatch_HCurve2dTool.hxx index 7c75083ce2..57ea6ed092 100644 --- a/src/IntPatch/IntPatch_HCurve2dTool.hxx +++ b/src/IntPatch/IntPatch_HCurve2dTool.hxx @@ -71,7 +71,7 @@ public: static Standard_Boolean IsClosed (const Handle(Adaptor2d_HCurve2d)& C); - static Standard_Boolean IsPeriodic (const Handle(Adaptor2d_HCurve2d)& C); + static Standard_Boolean IsPeriodic555 (const Handle(Adaptor2d_HCurve2d)& C); static Standard_Real Period (const Handle(Adaptor2d_HCurve2d)& C); diff --git a/src/IntPatch/IntPatch_HCurve2dTool.lxx b/src/IntPatch/IntPatch_HCurve2dTool.lxx index f1585911e7..431f7cc203 100644 --- a/src/IntPatch/IntPatch_HCurve2dTool.lxx +++ b/src/IntPatch/IntPatch_HCurve2dTool.lxx @@ -59,7 +59,7 @@ inline Standard_Boolean IntPatch_HCurve2dTool::IsClosed(const Handle(Adaptor2d_H return(C->IsClosed()); } //============================================================ -inline Standard_Boolean IntPatch_HCurve2dTool::IsPeriodic(const Handle(Adaptor2d_HCurve2d)& C) { +inline Standard_Boolean IntPatch_HCurve2dTool::IsPeriodic555(const Handle(Adaptor2d_HCurve2d)& C) { return(C->IsPeriodic222()); } //============================================================