-
Notifications
You must be signed in to change notification settings - Fork 1
/
hull.h
29 lines (23 loc) · 1.03 KB
/
hull.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef HULL_H
#define HULL_H
#include <libgeodecomp/communication/typemaps.h>
#include <libgeodecomp/communication/mpilayer.h>
#include <libgeodecomp/parallelization/serialsimulator.h>
#include <libgeodecomp/parallelization/stripingsimulator.h>
#include <libgeodecomp/storage/multicontainercell.h>
#include <libgeodecomp/config.h>
#include <libgeodecomp/geometry/stencils.h>
#include <libgeodecomp/io/bovwriter.h>
#include <libgeodecomp/io/ppmwriter.h>
#include <libgeodecomp/io/simplecellplotter.h>
#include <libgeodecomp/io/simpleinitializer.h>
#include <libgeodecomp/io/tracingwriter.h>
#include <libgeodecomp/loadbalancer/oozebalancer.h>
#include <libgeodecomp/loadbalancer/tracingbalancer.h>
#include <libgeodecomp/misc/apitraits.h>
#include <libgeodecomp/storage/image.h>
using namespace LibGeoDecomp;
double cross(const FloatCoord<2> &o, const FloatCoord<2> &a, const FloatCoord<2> &b);
bool floatCoordCompare(const FloatCoord<2> &a, const FloatCoord<2> &b);
std::vector<FloatCoord<2> > convexHull(std::vector<FloatCoord<2> > *points);
#endif