From 8fecfb21b6557277a95e0c50c4ad05f040098ad2 Mon Sep 17 00:00:00 2001 From: oan Date: Mon, 21 Oct 2019 19:33:32 +0300 Subject: [PATCH] # revert PerformCircular changes --- src/GCPnts/GCPnts_TangentialDeflection.pxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GCPnts/GCPnts_TangentialDeflection.pxx b/src/GCPnts/GCPnts_TangentialDeflection.pxx index f6476bab5e..deadfb6309 100644 --- a/src/GCPnts/GCPnts_TangentialDeflection.pxx +++ b/src/GCPnts/GCPnts_TangentialDeflection.pxx @@ -228,7 +228,7 @@ void GCPnts_TangentialDeflection::PerformCircular (const TheCurve& C) const Standard_Real aDiff = lastu - firstu; // Round up number of points to satisfy curvatureDeflection more precisely Standard_Integer NbPoints = (Standard_Integer)Min(Ceiling(aDiff / Du), 1.0e+6); - NbPoints = Max(NbPoints, minNbPnts) - 1; + NbPoints = Max(NbPoints, minNbPnts - 1); Du = aDiff / NbPoints; gp_Pnt P; -- 2.39.5