#include <stdio.h>#include "fastjet/internal/Voronoi.hh"Include dependency graph for Voronoi.cc:

Go to the source code of this file.
Namespaces | |
| namespace | fastjet |
Functions | |
| int | scomp (const void *p1, const void *p2) |
|
||||||||||||
|
Definition at line 1042 of file Voronoi.cc. References fastjet::Point::x, and fastjet::Point::y. Referenced by fastjet::VoronoiDiagramGenerator::generateVoronoi(). 01043 {
01044 Point *s1 = (Point*)p1, *s2=(Point*)p2;
01045 if(s1->y < s2->y) return(-1);
01046 if(s1->y > s2->y) return(1);
01047 if(s1->x < s2->x) return(-1);
01048 if(s1->x > s2->x) return(1);
01049 return(0);
01050 }
|
1.4.2