From 3ecdc7c8052ba00d97c2bf0fa72adc1237c71ed7 Mon Sep 17 00:00:00 2001 From: Eli Packer Date: Tue, 18 Sep 2001 09:10:48 +0000 Subject: [PATCH] *** --- .../include/CGAL/Largest_empty_iso_rectangle_2.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Packages/Largest_empty_rect_2/include/CGAL/Largest_empty_iso_rectangle_2.h b/Packages/Largest_empty_rect_2/include/CGAL/Largest_empty_iso_rectangle_2.h index f65f2153383..889e43720e0 100644 --- a/Packages/Largest_empty_rect_2/include/CGAL/Largest_empty_iso_rectangle_2.h +++ b/Packages/Largest_empty_rect_2/include/CGAL/Largest_empty_iso_rectangle_2.h @@ -1065,10 +1065,10 @@ Largest_empty_iso_rectangle_2::init(const Point_2& bl, const Point_2& tr) tr_p = tr; // add extreme points - insert(Point_2(bl.x() - T(0.000001) * (tr.x() - bl.x()), bl.y() - T(0.000001) * (tr.y() - bl.y())), BOT_LEFT); - insert(Point_2(tr.x() + T(0.000001) * (tr.x() - bl.x()), bl.y() - T(0.000001) * (tr.y() - bl.y())), BOT_RIGHT); - insert(Point_2(bl.x() - T(0.000001) * (tr.x() - bl.x()), tr.y() + T(0.000001) * (tr.y() - bl.y())), TOP_LEFT); - insert(Point_2(tr.x() + T(0.000001) * (tr.x() - bl.x()), tr.y() + T(0.000001) * (tr.y() - bl.y())), TOP_RIGHT); + insert(Point_2(bl.x() - NT(0.000001) * (tr.x() - bl.x()), bl.y() - NT(0.000001) * (tr.y() - bl.y())), BOT_LEFT); + insert(Point_2(tr.x() + NT(0.000001) * (tr.x() - bl.x()), bl.y() - NT(0.000001) * (tr.y() - bl.y())), BOT_RIGHT); + insert(Point_2(bl.x() - NT(0.000001) * (tr.x() - bl.x()), tr.y() + NT(0.000001) * (tr.y() - bl.y())), TOP_LEFT); + insert(Point_2(tr.x() + NT(0.000001) * (tr.x() - bl.x()), tr.y() + NT(0.000001) * (tr.y() - bl.y())), TOP_RIGHT); } template