From cd0dcf4bbfce15c27b5bc4db6aadcf0cc633dd78 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 5 Dec 2008 19:57:37 +0000 Subject: NR::LInfty => Geom:: (bzr r6953) --- src/livarot/PathConversion.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/livarot/PathConversion.cpp') diff --git a/src/livarot/PathConversion.cpp b/src/livarot/PathConversion.cpp index a7f5a8fd1..4ae4afe86 100644 --- a/src/livarot/PathConversion.cpp +++ b/src/livarot/PathConversion.cpp @@ -906,7 +906,7 @@ void Path::ConvertEvenLines(double treshhold) break; } } - if ( NR::LInfty(curX - nextX) > 0.00001 ) { + if ( Geom::LInfty(curX - nextX) > 0.00001 ) { curX = nextX; } } @@ -1604,7 +1604,7 @@ void Path::Fill(Shape* dest, int pathID, bool justAdd, bool closeIfNeeded, bool } else { - if ( NR::LInfty(pts[sbp].p - pts[prp].p) >= 0.00001 ) { + if ( Geom::LInfty(pts[sbp].p - pts[prp].p) >= 0.00001 ) { lEdge = dest->AddEdge(first + curP, first + pathEnd); if ( lEdge >= 0 ) { dest->ebData[lEdge].pathID = pathID; @@ -1618,7 +1618,7 @@ void Path::Fill(Shape* dest, int pathID, bool justAdd, bool closeIfNeeded, bool } } pathEnd = curP; - if ( NR::LInfty(pts[sbp].p - pts[lm].p) < 0.00001 ) { + if ( Geom::LInfty(pts[sbp].p - pts[lm].p) < 0.00001 ) { closed = true; } else { closed = false; @@ -1676,10 +1676,10 @@ void Path::Fill(Shape* dest, int pathID, bool justAdd, bool closeIfNeeded, bool closed = false; lEdge = -1; } else { - if ( NR::LInfty(pts[sbp].p - pts[prp].p) >= 0.00001 ) { + if ( Geom::LInfty(pts[sbp].p - pts[prp].p) >= 0.00001 ) { lEdge = dest->AddEdge(first+curP, first+pathEnd); pathEnd = curP; - if ( NR::LInfty(pts[sbp].p - pts[lm].p) < 0.00001 ) { + if ( Geom::LInfty(pts[sbp].p - pts[lm].p) < 0.00001 ) { closed = true; } else { closed = false; @@ -1739,7 +1739,7 @@ void Path::Fill(Shape* dest, int pathID, bool justAdd, bool closeIfNeeded, bool closed = false; lEdge = -1; } else { - if ( NR::LInfty(pts[sbp].p - pts[prp].p) >= 0.00001 ) { + if ( Geom::LInfty(pts[sbp].p - pts[prp].p) >= 0.00001 ) { lEdge = dest->AddEdge(first + pathEnd, first + curP); dest->ebData[lEdge].pathID = pathID; dest->ebData[lEdge].pieceID = pts[sbp].piece; @@ -1751,7 +1751,7 @@ void Path::Fill(Shape* dest, int pathID, bool justAdd, bool closeIfNeeded, bool dest->ebData[lEdge].tEn = pts[sbp].t; } pathEnd = curP; - if ( NR::LInfty(pts[sbp].p - pts[lm].p) < 0.00001 ) { + if ( Geom::LInfty(pts[sbp].p - pts[lm].p) < 0.00001 ) { closed = true; } else { closed = false; @@ -1808,10 +1808,10 @@ void Path::Fill(Shape* dest, int pathID, bool justAdd, bool closeIfNeeded, bool closed = false; lEdge = -1; } else { - if ( NR::LInfty(pts[sbp].p - pts[prp].p) >= 0.00001 ) { + if ( Geom::LInfty(pts[sbp].p - pts[prp].p) >= 0.00001 ) { lEdge = dest->AddEdge(first+pathEnd, first+curP); pathEnd = curP; - if ( NR::LInfty(pts[sbp].p - pts[lm].p) < 0.00001 ) { + if ( Geom::LInfty(pts[sbp].p - pts[lm].p) < 0.00001 ) { closed = true; } else { closed = false; -- cgit v1.2.3