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

[GL] Triangle: Rm unused method setTriangle().

parent f0ae6760
No related branches found
No related tags found
No related merge requests found
......@@ -27,14 +27,6 @@ Triangle::Triangle (std::vector<Point *> const &pnt_vec,
assert (pnt_a < _pnts.size() && pnt_b < _pnts.size() && pnt_c < _pnts.size());
}
void Triangle::setTriangle (std::size_t pnt_a, std::size_t pnt_b, std::size_t pnt_c)
{
assert (pnt_a < _pnts.size() && pnt_b < _pnts.size() && pnt_c < _pnts.size());
_pnt_ids[0] = pnt_a;
_pnt_ids[1] = pnt_b;
_pnt_ids[2] = pnt_c;
}
bool Triangle::containsPoint(MathLib::Point3d const& q, double eps) const
{
GeoLib::Point const& a(*(_pnts[_pnt_ids[0]]));
......
......@@ -35,11 +35,6 @@ public:
std::size_t pnt_b,
std::size_t pnt_c);
/**
* saves three indices describing a triangle
* */
void setTriangle (std::size_t pnt_a, std::size_t pnt_b, std::size_t pnt_c);
/** \brief const access operator to access the index
* of the i-th triangle point
*/
......
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