Files
@ 36b188563094
Branch filter:
Location: EI/VirtualLeaf/src/hull.h - annotation
36b188563094
364 B
text/x-chdr
Corrected some problems with software deployment on MacOSX.
--
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
added doc/mac-deploy-howto.txt
added src/perl/deploymodel.pl
changed src/VirtualLeaf.pro
--
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
added doc/mac-deploy-howto.txt
added src/perl/deploymodel.pl
changed src/VirtualLeaf.pro
8aaffb5565a2 8aaffb5565a2 8aaffb5565a2 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 9a40ab737a73 8aaffb5565a2 9a40ab737a73 9a40ab737a73 8aaffb5565a2 8aaffb5565a2 8aaffb5565a2 9a40ab737a73 8aaffb5565a2 | #ifndef _HULL_H_
#define _HULL_H_
// Class point needed by 2D convex hull code
class Point {
public:
Point(float xx, float yy) {
x=xx;
y=yy;
}
Point(void) {
x=0; y=0;
}
float x,y;
};
// required to sort points (e.g. Qt's qSort())
bool operator<(const Point & p1, const Point & p2);
int chainHull_2D( Point* P, int n, Point* H );
#endif
|