remove unnecessary ctors and use initializer list

This commit is contained in:
Jan Niklas Hasse 2012-08-27 19:24:14 +02:00
parent 856acda129
commit 58793eda10

View File

@ -34,13 +34,8 @@
namespace p2t {
SweepContext::SweepContext(std::vector<Point*> polyline)
SweepContext::SweepContext(std::vector<Point*> polyline) : points_(polyline)
{
basin = Basin();
edge_event = EdgeEvent();
points_ = polyline;
InitEdges(points_);
}