nr-convex-hull.h revision 8b9a820756fdf348239872236be2257f854e094a
#ifndef SEEN_NR_CONVEX_HULL_H
#define SEEN_NR_CONVEX_HULL_H
/* ex:set et ts=4 sw=4: */
/*
* A class representing the convex hull of a set of points.
*
* Copyright 2004 MenTaLguY <mental@rydia.net>
*
* This code is licensed under the GNU GPL; see COPYING for more information.
*/
ConvexHull() : _bounds() {}
if (_bounds) {
} else {
}
}
if (_bounds) {
} else {
}
}
// Note that this is a hack. when convexhull actually works
// you will need to add all four points.
}
void add(ConvexHull const &h) {
if (h._bounds) {
}
}
return _bounds;
}
};
} /* namespace NR */
#endif