forked from erich666/jgt-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadvicer_algorithms.h
83 lines (69 loc) · 5.11 KB
/
advicer_algorithms.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/* advicer_algorithms.h*/
#include "triangle.h"
#include <math.h>
int intersect_triangle_small_bary(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle1_small_bary(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle2_small_bary(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle3_small_bary(Ray_big *r, Triangle_small *t, Intersection_big *p);
int orourke_small_bary(Ray_big *r, Triangle_small *t, Intersection_big *p);
int orourke_small_baryCCW(Ray_big *r, Triangle_small *t, Intersection_big *p);
int plucker_mahovsky_small_bary(Ray_big *r, Triangle_small *t, Intersection_big *p);
int plucker_small_bary(Ray_big *r, Triangle_small *t, Intersection_big *p);
int chirkov_other_bary(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int chirkov3_other_bary(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int chirkov2_other_bary(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int plucker_mahovsky_other_bary(Ray_big *r, Plucker_coords *t, Intersection_big *p);
int plucker_other_bary(Ray_big *r, Plucker_coords *t, Intersection_big *p);
int orourke_other_bary(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int orourke_other_baryCCW(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int halfplane_other_bary(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int area2D_other_bary(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int arenberg_other_bary_pre(Ray_big *r, Triangle_inv *t, Intersection_big *p);
int arenberg_other_bary_pre2(Ray_big *r, Triangle_inv *t, Intersection_big *p);
int halfplane_other_bary_pre(Ray_big *r, Triangle_Halfplane *t, Intersection_big *p);
int halfplane_other_bary_pre2(Ray_big *r, Triangle_Halfplane *t, Intersection_big *p);
int halfplane2_other_bary(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int intersect_triangle_small_t(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle1_small_t(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle2_small_t(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle3_small_t(Ray_big *r, Triangle_small *t, Intersection_big *p);
int orourke_small_t(Ray_big *r, Triangle_small *t, Intersection_big *p);
int orourke_small_tCCW(Ray_big *r, Triangle_small *t, Intersection_big *p);
int plucker_mahovsky_small_t(Ray_big *r, Triangle_small *t, Intersection_big *p);
int plucker_small_t(Ray_big *r, Triangle_small *t, Intersection_big *p);
int chirkov_other_t(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int chirkov3_other_t(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int chirkov2_other_t(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int plucker_mahovsky_other_t(Ray_big *r, Plucker_coords *t, Intersection_big *p);
int plucker_other_t(Ray_big *r, Plucker_coords *t, Intersection_big *p);
int orourke_other_t(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int orourke_other_tCCW(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int halfplane_other_t(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int area2D_other_t(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int arenberg_other_t_pre(Ray_big *r, Triangle_inv *t, Intersection_big *p);
int arenberg_other_t_pre2(Ray_big *r, Triangle_inv *t, Intersection_big *p);
int halfplane_other_t_pre(Ray_big *r, Triangle_Halfplane *t, Intersection_big *p);
int halfplane_other_t_pre2(Ray_big *r, Triangle_Halfplane *t, Intersection_big *p);
int halfplane2_other_t(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int intersect_triangle_small(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle1_small(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle2_small(Ray_big *r, Triangle_small *t, Intersection_big *p);
int intersect_triangle3_small(Ray_big *r, Triangle_small *t, Intersection_big *p);
int orourke_small(Ray_big *r, Triangle_small *t, Intersection_big *p);
int orourke_smallCCW(Ray_big *r, Triangle_small *t, Intersection_big *p);
int plucker_mahovsky_small(Ray_big *r, Triangle_small *t, Intersection_big *p);
int plucker_small(Ray_big *r, Triangle_small *t, Intersection_big *p);
int chirkov_other(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int chirkov3_other(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int chirkov2_other(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int plucker_mahovsky_other(Ray_big *r, Plucker_coords *t, Intersection_big *p);
int plucker_other(Ray_big *r, Plucker_coords *t, Intersection_big *p);
int orourke_other(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int orourke_otherCCW(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int halfplane_other(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int area2D_other(Ray_big *r, Triangle_plane *t, Intersection_big *p);
int arenberg_other_pre(Ray_big *r, Triangle_inv *t, Intersection_big *p);
int arenberg_other_pre2(Ray_big *r, Triangle_inv *t, Intersection_big *p);
int halfplane_other_pre(Ray_big *r, Triangle_Halfplane *t, Intersection_big *p);
int halfplane_other_pre2(Ray_big *r, Triangle_Halfplane *t, Intersection_big *p);
int halfplane2_other(Ray_big *r, Triangle_plane *t, Intersection_big *p);