From c493571c3c0106e3516fbe1cc93267275ad19875 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 11 Apr 2007 03:16:03 +0000 Subject: [PATCH] add a new return code indicating nothing was done --- src/livarot/LivarotDefs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/livarot/LivarotDefs.h b/src/livarot/LivarotDefs.h index bf1326338..49f954586 100644 --- a/src/livarot/LivarotDefs.h +++ b/src/livarot/LivarotDefs.h @@ -36,7 +36,8 @@ enum // despite the rounding sheme, this still happen with uber-complex graphs // note that coordinates are stored in double => double precision for the computation is not even // enough to get exact results (need quadruple precision, i think). - shape_input_err = 5 // the function was given an incorrect input (not a polygon, or not eulerian) + shape_input_err = 5, // the function was given an incorrect input (not a polygon, or not eulerian) + shape_nothing_to_do = 6 // the function had nothing to do (zero offset, etc) }; // return codes for the find function in the AVL tree (private) -- 2.30.2