Skip to content
Snippets Groups Projects
Commit 71e6ac8a authored by Tom Fischer's avatar Tom Fischer
Browse files

[GL/Polygon] Remove unused method.

parent 0ec7f97d
No related branches found
No related tags found
No related merge requests found
...@@ -125,12 +125,6 @@ bool Polygon::isPntInPolygon(MathLib::Point3d const& pnt) const ...@@ -125,12 +125,6 @@ bool Polygon::isPntInPolygon(MathLib::Point3d const& pnt) const
return false; 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( std::vector<GeoLib::Point> Polygon::getAllIntersectionPoints(
GeoLib::LineSegment const& segment) const GeoLib::LineSegment const& segment) const
{ {
......
...@@ -65,14 +65,6 @@ public: ...@@ -65,14 +65,6 @@ public:
* @return if point is inside the polygon true, else false * @return if point is inside the polygon true, else false
*/ */
bool isPntInPolygon(const MathLib::Point3d& pnt) const; 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. * Checks if the straight line segment is contained within the polygon.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment