Files @ 8ff9e397df2f
Branch filter:

Location: EI/VirtualLeaf/src/hull.h

Roeland Merks
Added build scripts for MacOSX installer (PackageMaker)

--
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
added src/vleafmacosx_installer.pmdoc/01virtualleaf-contents.xml
added src/vleafmacosx_installer.pmdoc/01virtualleaf.xml
added src/vleafmacosx_installer.pmdoc/02models-contents.xml
added src/vleafmacosx_installer.pmdoc/02models.xml
added src/vleafmacosx_installer.pmdoc/03leaves-contents.xml
added src/vleafmacosx_installer.pmdoc/03leaves.xml
added src/vleafmacosx_installer.pmdoc/index.xml
#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