Skip to content
Snippets Groups Projects
Commit 18cb69d7 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

don't throw in test_move_point_parametric_triangle
parent 7e0702cd
No related branches found
No related tags found
No related merge requests found
// $Id: BDS.cpp,v 1.67 2006-11-27 22:22:16 geuzaine Exp $ // $Id: BDS.cpp,v 1.68 2006-11-27 22:35:01 geuzaine Exp $
// //
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -997,7 +997,7 @@ bool test_move_point_parametric_triangle (BDS_Point * p, double u, double v, BDS ...@@ -997,7 +997,7 @@ bool test_move_point_parametric_triangle (BDS_Point * p, double u, double v, BDS
else if (p == pts[2]) else if (p == pts[2])
{pc[0]=u;pc[1]=v;} {pc[0]=u;pc[1]=v;}
else else
throw; return false;
double area_final = fabs(a[1] * b[2] - a[2] * b[1]); double area_final = fabs(a[1] * b[2] - a[2] * b[1]);
if (area_final < 0.1 * area_init)return false; if (area_final < 0.1 * area_init)return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment