Files @ ec439fed4af8
Branch filter:

Location: EI/VirtualLeaf/src/hull.h

Michael Guravage
Synchronise leaf movie frame and cell export data timestep references.

--
user: Michael Guravage <michael.guravage@cwi.nl>
branch 'default'
changed doc/v1.html
changed doc/v1.pdf
changed doc/v1.rst
changed src/ChangeLog
changed src/VirtualLeaf.cpp
changed src/canvas.cpp
changed src/canvas.h
changed src/mainbase.h
changed src/mesh.h
#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