Hi all,
first time posting here, I need some help with this, as my knowledge of c++ is shaky at best.
I have points defined like this:
struct Point
{
double x, y, z;
};
I have a 2d vector filled with vectors of these points:
vector< vector<Point> > possible_neurons;
I want to look for duplicates in possible_neurons, which I think means that all points in two vectors must be in the same order and have the same values ( x, y, z ). My code doesn't sort them when it populates possible_neurons and I am really unsure as to how I can compare the points. Any help is appreciated.
thanks!