Commit 28c2aa7
New parameterization functions for Cone and ConeSurface (#1020)
* Test change to radius from cos to tan
* Drop unneeded type spec
* Add new param functions for Cone and ConeSurface
* Bugfix - missed name change
* Bugfix - updated changed name
* Bugfix in point-vector-svector operations
* Adjust formatting to match prior style
* Add tests for ConeSurface parameterization
* Bugfix in test - wrong name
* Add DomainError test for Cone param
* Bugfix - wrong name in test
* Bugfix - wrong name in test
* Bugfix - promote tuple to Point for comparison
* Add tests for Cone param function
* Apply suggestions from code review
Co-authored-by: Júlio Hoffimann <julio.hoffimann@gmail.com>
* Update test/primitives.jl
* Update test/primitives.jl
* Rename arguments and internal names, use some abstract API
* Update variable name
* Rename arguments and internal names, use some abstract APIs
* Bugfix - update name
* Conversion to abstract methods
* Revert test changes to simplify merge
* Re-add tests after merge
* Final adjustments
---------
Co-authored-by: Júlio Hoffimann <julio.hoffimann@gmail.com>1 parent 443b9bc commit 28c2aa7
File tree
5 files changed
+26
-14
lines changed- src
- geometries/primitives
- sampling
- test
5 files changed
+26
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
47 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
| 1049 | + | |
1049 | 1050 | | |
1050 | 1051 | | |
1051 | 1052 | | |
1052 | | - | |
| 1053 | + | |
1053 | 1054 | | |
1054 | 1055 | | |
1055 | 1056 | | |
1056 | 1057 | | |
1057 | 1058 | | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1058 | 1062 | | |
1059 | 1063 | | |
1060 | 1064 | | |
| |||
1120 | 1124 | | |
1121 | 1125 | | |
1122 | 1126 | | |
| 1127 | + | |
1123 | 1128 | | |
1124 | 1129 | | |
1125 | 1130 | | |
1126 | | - | |
| 1131 | + | |
1127 | 1132 | | |
1128 | 1133 | | |
1129 | 1134 | | |
1130 | 1135 | | |
1131 | 1136 | | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
1132 | 1140 | | |
1133 | 1141 | | |
1134 | 1142 | | |
| |||
0 commit comments