Files
@ dcd49517f90b
Branch filter:
Location: EI/VirtualLeaf/src/hull.h - annotation
dcd49517f90b
364 B
text/x-chdr
Two last corrections:
- Viewport was not written during automatic export of XML files, because Virtualization of XMLSettingsTree did not work due to inconsistent function definition (const vs. non-const)
- Some of the default parameter-file had "Start saving movie frames" switched on by default, dramatically slowing down the example runs. Now it is switched off in all example XML files.
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
changed data/leaves/auxin_growth.xml
changed data/leaves/tutorial5_init.xml
changed src/VirtualLeaf.cpp
changed src/mainbase.cpp
changed src/mainbase.h
- Viewport was not written during automatic export of XML files, because Virtualization of XMLSettingsTree did not work due to inconsistent function definition (const vs. non-const)
- Some of the default parameter-file had "Start saving movie frames" switched on by default, dramatically slowing down the example runs. Now it is switched off in all example XML files.
user: Roeland Merks <roeland.merks@cwi.nl>
branch 'default'
changed data/leaves/auxin_growth.xml
changed data/leaves/tutorial5_init.xml
changed src/VirtualLeaf.cpp
changed src/mainbase.cpp
changed src/mainbase.h
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
|