From 6bc9252c6ae04187057655deb9b60fbcf6e86799 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Thu, 24 Apr 2014 22:30:45 +0200 Subject: [PATCH] [intersect] Removed unused calculation --- .../geometry/strategies/cartesian/cart_intersect.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/boost/geometry/strategies/cartesian/cart_intersect.hpp b/include/boost/geometry/strategies/cartesian/cart_intersect.hpp index 8e5450300..efc970924 100644 --- a/include/boost/geometry/strategies/cartesian/cart_intersect.hpp +++ b/include/boost/geometry/strategies/cartesian/cart_intersect.hpp @@ -191,14 +191,6 @@ struct relate_cartesian_segments // (only calculated for non-collinear segments) if (! collinear) { - // Calculate determinants - Cramers rule - coordinate_type const wx = get<0, 0>(a) - get<0, 0>(b); - coordinate_type const wy = get<0, 1>(a) - get<0, 1>(b); - - promoted_type d, da; - cramers_rule(sinfo.dx_a, sinfo.dy_a, sinfo.dx_b, sinfo.dy_b, - wx, wy, d, da); - robust_coordinate_type const robust_wx = get<0>(robust_a1) - get<0>(robust_b1); robust_coordinate_type const robust_wy = get<1>(robust_a1) - get<1>(robust_b1); robust_coordinate_type robust_da0, robust_da;