From 71e6ac8a0182359ca45c0cb7c26bd8e170eccf85 Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Wed, 23 Jun 2021 08:57:48 +0200
Subject: [PATCH] [GL/Polygon] Remove unused method.

---
 GeoLib/Polygon.cpp | 6 ------
 GeoLib/Polygon.h   | 8 --------
 2 files changed, 14 deletions(-)

diff --git a/GeoLib/Polygon.cpp b/GeoLib/Polygon.cpp
index 2c0973d0e71..c74b550fc0f 100644
--- a/GeoLib/Polygon.cpp
+++ b/GeoLib/Polygon.cpp
@@ -125,12 +125,6 @@ bool Polygon::isPntInPolygon(MathLib::Point3d const& pnt) const
     return false;
 }
 
-bool Polygon::isPntInPolygon(double x, double y, double z) const
-{
-    const GeoLib::Point pnt(x, y, z);
-    return isPntInPolygon(pnt);
-}
-
 std::vector<GeoLib::Point> Polygon::getAllIntersectionPoints(
     GeoLib::LineSegment const& segment) const
 {
diff --git a/GeoLib/Polygon.h b/GeoLib/Polygon.h
index e6554e66228..f0a5d8b11e3 100644
--- a/GeoLib/Polygon.h
+++ b/GeoLib/Polygon.h
@@ -65,14 +65,6 @@ public:
      * @return if point is inside the polygon true, else false
      */
     bool isPntInPolygon(const MathLib::Point3d& pnt) const;
-    /**
-     * wrapper for method isPntInPolygon (const GeoLib::Point&)
-     * @param x x coordinate of point
-     * @param y y coordinate of point
-     * @param z z coordinate of point
-     * @return if point is inside the polygon true, else false
-     */
-    bool isPntInPolygon (double x, double y, double z) const;
 
     /**
      * Checks if the straight line segment is contained within the polygon.
-- 
GitLab