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

[GL] Triangle: Rm unused constructor and attribute.

parent 0f088f15
No related branches found
No related tags found
No related merge requests found
......@@ -21,15 +21,6 @@
namespace GeoLib {
Triangle::Triangle (std::vector<Point *> const &pnt_vec) :
_pnts(pnt_vec), _initialized (false)
{
assert(!_pnts.empty());
_pnt_ids[0] = std::numeric_limits<std::size_t>::max();
_pnt_ids[1] = std::numeric_limits<std::size_t>::max();
_pnt_ids[2] = std::numeric_limits<std::size_t>::max();
}
Triangle::Triangle (std::vector<Point *> const &pnt_vec,
std::size_t pnt_a, std::size_t pnt_b, std::size_t pnt_c) :
_pnts(pnt_vec), _initialized (true)
......
......@@ -31,11 +31,6 @@ class Point;
class Triangle
{
public:
/**
* construction of object, initialization of reference to point vector
*/
Triangle (std::vector<Point *> const &pnt_vec);
/**
* construction of object, initialization of reference to point vector,
* saves the three indices describing a triangle
......@@ -84,7 +79,6 @@ protected:
const std::vector<Point*> &_pnts;
/** position of pointers to the geometric points */
std::size_t _pnt_ids[3];
bool _initialized;
};
void getPlaneCoefficients(Triangle const& tri, double c[3]);
......
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