diff --git a/GeoLib/Polygon.cpp b/GeoLib/Polygon.cpp index 2c0973d0e710e7645524d1ebab40bc4d4a418d27..c74b550fc0fc832342907212a3805084bc000cd5 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 e6554e662288057ec27491ec257d683d59a20ff7..f0a5d8b11e3c6d4c5cecb0c88eddbc91ee72b34e 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.