#include "geometry.h"
#include <math.h>
Include dependency graph for geometry.c:
Go to the source code of this file.
Functions | |
void | geominit () |
double | dist_2 (Point *pp, Point *qp) |
void | subPt (Point *a, Point b, Point c) |
void | addPt (Point *c, Point a, Point b) |
double | area_2 (Point a, Point b, Point c) |
int | leftOf (Point a, Point b, Point c) |
int | intersection (Point a, Point b, Point c, Point d, Point *p) |
Variables | |
Point | origin = { 0, 0 } |
double | xmin |
double | xmax |
double | ymin |
double | ymax |
double | deltax |
double | deltay |
int | nsites |
int | sqrt_nsites |
Definition at line 54 of file geometry.c.
References Point::x, and Point::y.
Referenced by polyOverlap().
Definition at line 60 of file geometry.c.
References Point::x, and Point::y.
Referenced by leftOf().
void geominit | ( | void | ) |
Definition at line 65 of file geometry.c.
References area_2(), and leftOf().
Referenced by leftOf().
double deltax |
double deltay |
Definition at line 24 of file geometry.c.
int nsites |
int sqrt_nsites |
Definition at line 28 of file geometry.c.
Referenced by ELinitialize(), geominit(), getfree(), and PQinitialize().
double xmax |
Definition at line 23 of file geometry.c.
double xmin |
double ymax |
Definition at line 23 of file geometry.c.
double ymin |
Definition at line 23 of file geometry.c.