static Standard_Boolean IsClosed (const gp_Lin& C);
- static Standard_Boolean IsPeriodic (const gp_Lin& C);
+ static Standard_Boolean IsPeriodic101010 (const gp_Lin& C);
static Standard_Real Period (const gp_Lin& C);
inline Standard_Boolean HLRBRep_LineTool::IsClosed( const gp_Lin& )
{ return Standard_False; }
-inline Standard_Boolean HLRBRep_LineTool::IsPeriodic( const gp_Lin& )
+inline Standard_Boolean HLRBRep_LineTool::IsPeriodic101010(const gp_Lin&)
{ return Standard_False; }
inline Standard_Real HLRBRep_LineTool::Period(const gp_Lin& )
return(C->IsClosed());
}
//============================================================
-inline Standard_Boolean IntCurveSurface_HCurveTool::IsPeriodic(const CurveGen& C) {
+inline Standard_Boolean IntCurveSurface_HCurveTool::IsPeriodic101010(const CurveGen& C)
+{
return(C->IsPeriodic222());
}
//============================================================
//-- Test si la courbe est periodique
Standard_Real w = lw, u = su, v = sv;
- GeomAbs_CurveType aCType = TheCurveTool::GetType(curve);
-
- if(TheCurveTool::IsPeriodic(curve)
- || aCType == GeomAbs_Circle
- || aCType == GeomAbs_Ellipse) {
+ if(TheCurveTool::IsPeriodic101010(curve)) {
w = ElCLib::InPeriod(w, W0, W0 + TheCurveTool::Period(curve));
}
static Standard_Boolean IsClosed (const Handle(Adaptor3d_HCurve)& C);
- static Standard_Boolean IsPeriodic (const Handle(Adaptor3d_HCurve)& C);
+ static Standard_Boolean IsPeriodic101010 (const Handle(Adaptor3d_HCurve)& C);
static Standard_Real Period (const Handle(Adaptor3d_HCurve)& C);