[geos-commits] [SCM] GEOS branch master updated. c821855f5cb1841e027b22aa8d8f733f37412165

git at osgeo.org git at osgeo.org
Mon Dec 17 11:57:00 PST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  c821855f5cb1841e027b22aa8d8f733f37412165 (commit)
      from  7120886889ccd6ba84692cf4f8f265bf6c163d46 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c821855f5cb1841e027b22aa8d8f733f37412165
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Dec 17 11:56:49 2018 -0800

    Remove dead comments from Area code

diff --git a/include/geos/algorithm/Area.h b/include/geos/algorithm/Area.h
index 7608c3f..71e4bd9 100644
--- a/include/geos/algorithm/Area.h
+++ b/include/geos/algorithm/Area.h
@@ -26,10 +26,7 @@
 namespace geos {
 namespace algorithm { // geos::algorithm
 
-/// Utility functions for working with angles.
-//
-/// Unless otherwise noted, methods in this class express angles in radians.
-///
+
 class GEOS_DLL Area {
 public:
 
diff --git a/tests/unit/algorithm/AreaTest.cpp b/tests/unit/algorithm/AreaTest.cpp
index 361ac4b..0c4b209 100644
--- a/tests/unit/algorithm/AreaTest.cpp
+++ b/tests/unit/algorithm/AreaTest.cpp
@@ -127,27 +127,6 @@ namespace tut
         checkAreaOfRingSigned("LINESTRING (100 200, 100 100, 200 100, 200 200, 100 200)", -10000.0);
     }
 
-    // // testIsAcute()
-    // template<>
-    // template<>
-    // void object::test<2>()
-    // {
-    // ensure_equals("7", Angle::angle(Coordinate(-10,-10)), -0.75*PI, TOL);
-    //     ensure(Area::isAcute(
-    //       Coordinate(10,0), Coordinate(0,0), Coordinate(5,10)));
-    //     ensure(Area::isAcute(
-    //       Coordinate(10,0), Coordinate(0,0), Coordinate(5,-10)));
-    //     // angle of 0
-    //     ensure(Area::isAcute(
-    //       Coordinate(10,0), Coordinate(0,0), Coordinate(10,0)));
-    //     ensure_not(Area::isAcute(
-    //       Coordinate(10,0), Coordinate(0,0), Coordinate(-5,10)));
-    //     ensure_not(Area::isAcute(
-    //       Coordinate(10,0), Coordinate(0,0), Coordinate(-5,-10)));
-    // }
-
-
-
 
 } // namespace tut
 

-----------------------------------------------------------------------

Summary of changes:
 include/geos/algorithm/Area.h     |  5 +----
 tests/unit/algorithm/AreaTest.cpp | 21 ---------------------
 2 files changed, 1 insertion(+), 25 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list