Go to the documentation of this file.00001 #ifndef GRASS_E_INTERSECT_H
00002 #define GRASS_E_INTERSECT_H
00003
00004 #define FZERO(X, TOL) (fabs(X)<TOL)
00005 #define FEQUAL(X, Y, TOL) (fabs(X-Y)<TOL)
00006
00007
00008
00009
00010
00011
00012 int segment_intersection_2d_tol(double ax1, double ay1, double ax2, double ay2, double bx1, double by1, double bx2, double by2,
00013 double *x1, double *y1, double *x2, double *y2, double tol);
00014
00015 int segment_intersection_2d(double ax1, double ay1, double ax2, double ay2, double bx1, double by1, double bx2, double by2,
00016 double *x1, double *y1, double *x2, double *y2);
00017
00018
00019 int almost_equal(double a, double b, int bits);
00020
00021 #endif