Commit caa4987
Simplify symmetry diagram rendering and centering-aware screw detection
Remove the F-cubic-specific representation policy from
SymmetryDiagramElements and let SymmetryElementsTable enumerate cubic
23 / m-3 axes directly. Make ScrewParams lattice-aware via
PrimitiveAlongDirectionInDUnits so I-cubic body diagonals report the
correct k. Canonicalize centered ops in ExpandWithCentering so axis
positions are not duplicated. Unify axis-color handling in the
positions diagram with a single index ↔ ProjectionAxis ↔ "xyz" array.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0828866 commit caa4987
4 files changed
Lines changed: 297 additions & 455 deletions
File tree
- Crystallography.Controls/Crystal
- Crystallography/Symmetry
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
92 | 104 | | |
93 | 105 | | |
94 | 106 | | |
| |||
166 | 178 | | |
167 | 179 | | |
168 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
169 | 195 | | |
170 | 196 | | |
171 | 197 | | |
| |||
0 commit comments