rect-hull.h revision 9eee753fac77aa955164b5044239f0902ebde4bc
/*
* Copyright 2004 MenTaLguY <mental@rydia.net>
*
* This code is licensed under the GNU GPL; see COPYING for more information.
*/
#ifndef GEOM_RECT_HULL_H
#define GEOM_RECT_HULL_H
/**
* A class representing a rectangular convex hull of a set of points.
*/
if (_bounds) {
} else {
}
}
if (_bounds) {
} else {
}
}
// Note that this is a hack. when convexhull actually works
// you will need to add all four points.
}
if (h._bounds) {
}
}
return _bounds;
}
};
} /* namespace Geom */
#endif // GEOM_RECT_HULL_H
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :