From 4d88f6f48f703b942d2923d0aceef7a1b76593e9 Mon Sep 17 00:00:00 2001 From: Yury Melnichek Date: Sat, 10 Sep 2011 15:54:22 +0200 Subject: [PATCH] Added comments. --- geometry/covering_utils.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geometry/covering_utils.hpp b/geometry/covering_utils.hpp index 04f67f0089..711a4c09a8 100644 --- a/geometry/covering_utils.hpp +++ b/geometry/covering_utils.hpp @@ -10,8 +10,10 @@ namespace covering { +// Result of an intersection between object and cell. enum CellObjectIntersection { + // No intersection. It is important, that its value is 0, so one can do if (intersection) ... . CELL_OBJECT_NO_INTERSECTION = 0, CELL_OBJECT_INTERSECT = 1, CELL_INSIDE_OBJECT = 2,