Files @ 3d9c788630de
Branch filter:

Location: EI/VirtualLeaf/src/hull.h

Michael Guravage
Merged recent modelcatalogue.cpp and macosx changes.

--
user: Michael Guravage <michael.guravage@cwi.nl>
branch merge
branch 'default'
changed src/ChangeLog
changed src/VirtualLeaf-install-macosx/01virtualleaf-contents.xml
changed src/VirtualLeaf-install-macosx/01virtualleaf.xml
changed src/VirtualLeaf-install-macosx/02models-contents.xml
changed src/VirtualLeaf-install-macosx/02models.xml
changed src/VirtualLeaf-install-macosx/03leaves-contents.xml
changed src/VirtualLeaf-install-macosx/03leaves.xml
changed src/VirtualLeaf-install-macosx/index.xml
changed src/modelcatalogue.cpp
#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