Commit 69209a4
add support for prisms (new type of geometric_object) to libctlgeom (#13)
* add support for prisms (new type of geometric_object) to libctlgeom
* updates
* updates to point_in_prism and other functions
* implemented intersect_line_with_object for prisms; added working unit test to test-prism.c
* updates
* new function intersect_line_segment_with_object
* finished implementing all geometry primitives for prisms; added passing unit test utils/test-prism.c
* finished implementing all geometry primitives for prisms; added passing unit test utils/test-prism.c
* inserted content of prism.c into geom.c, made updates to enable mpb and meep builds
* fixed compilation issues for test-prism1 parent 409cd32 commit 69209a4
5 files changed
Lines changed: 957 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
147 | 153 | | |
| 154 | + | |
148 | 155 | | |
149 | 156 | | |
150 | 157 | | |
| |||
0 commit comments