symcrys 0.10.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/cell.d.ts +19 -16
- package/dist/cell.d.ts.map +1 -1
- package/dist/cell.js +63 -35
- package/dist/cell.js.map +1 -1
- package/dist/checks.d.ts +29 -0
- package/dist/checks.d.ts.map +1 -0
- package/dist/checks.js +79 -0
- package/dist/checks.js.map +1 -0
- package/dist/closure.d.ts +43 -0
- package/dist/closure.d.ts.map +1 -0
- package/dist/closure.js +201 -0
- package/dist/closure.js.map +1 -0
- package/dist/coordinates.d.ts +143 -0
- package/dist/coordinates.d.ts.map +1 -0
- package/dist/coordinates.js +198 -0
- package/dist/coordinates.js.map +1 -0
- package/dist/crystalClasses.d.ts +170 -117
- package/dist/crystalClasses.d.ts.map +1 -1
- package/dist/crystalClasses.js +190 -121
- package/dist/crystalClasses.js.map +1 -1
- package/dist/freeze.d.ts +7 -0
- package/dist/freeze.d.ts.map +1 -0
- package/dist/freeze.js +15 -0
- package/dist/freeze.js.map +1 -0
- package/dist/index.d.ts +13 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/indices.d.ts +30 -20
- package/dist/indices.d.ts.map +1 -1
- package/dist/indices.js +101 -31
- package/dist/indices.js.map +1 -1
- package/dist/lattice.d.ts +15 -1
- package/dist/lattice.d.ts.map +1 -1
- package/dist/lattice.js +30 -1
- package/dist/lattice.js.map +1 -1
- package/dist/linalg.d.ts +2 -2
- package/dist/linalg.d.ts.map +1 -1
- package/dist/linalg.js +3 -3
- package/dist/linalg.js.map +1 -1
- package/dist/magnetic.d.ts +14 -10
- package/dist/magnetic.d.ts.map +1 -1
- package/dist/magnetic.js +10 -6
- package/dist/magnetic.js.map +1 -1
- package/dist/notation.d.ts +16 -0
- package/dist/notation.d.ts.map +1 -0
- package/dist/notation.js +66 -0
- package/dist/notation.js.map +1 -0
- package/dist/operations.d.ts +40 -26
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +48 -60
- package/dist/operations.js.map +1 -1
- package/dist/plane.d.ts +297 -80
- package/dist/plane.d.ts.map +1 -1
- package/dist/plane.js +289 -94
- package/dist/plane.js.map +1 -1
- package/dist/pointGroups/crystalForms.d.ts +6 -21
- package/dist/pointGroups/crystalForms.d.ts.map +1 -1
- package/dist/pointGroups/crystalForms.js +9 -16
- package/dist/pointGroups/crystalForms.js.map +1 -1
- package/dist/pointGroups/crystalFormsData.d.ts +4 -1
- package/dist/pointGroups/crystalFormsData.d.ts.map +1 -1
- package/dist/pointGroups/crystalFormsData.js +64 -1
- package/dist/pointGroups/crystalFormsData.js.map +1 -1
- package/dist/pointGroups/elements.d.ts +19 -17
- package/dist/pointGroups/elements.d.ts.map +1 -1
- package/dist/pointGroups/elements.js +65 -83
- package/dist/pointGroups/elements.js.map +1 -1
- package/dist/pointGroups/identify.d.ts +10 -18
- package/dist/pointGroups/identify.d.ts.map +1 -1
- package/dist/pointGroups/identify.js +27 -79
- package/dist/pointGroups/identify.js.map +1 -1
- package/dist/pointGroups/itaOrder.d.ts +15 -14
- package/dist/pointGroups/itaOrder.d.ts.map +1 -1
- package/dist/pointGroups/itaOrder.js +116 -94
- package/dist/pointGroups/itaOrder.js.map +1 -1
- package/dist/pointGroups/itcData.d.ts +96 -0
- package/dist/pointGroups/itcData.d.ts.map +1 -0
- package/dist/pointGroups/itcData.js +336 -0
- package/dist/pointGroups/itcData.js.map +1 -0
- package/dist/pointGroups/itcMagneticData.d.ts +55 -0
- package/dist/pointGroups/itcMagneticData.d.ts.map +1 -0
- package/dist/pointGroups/itcMagneticData.js +172 -0
- package/dist/pointGroups/itcMagneticData.js.map +1 -0
- package/dist/pointGroups/keys.d.ts +32 -0
- package/dist/pointGroups/keys.d.ts.map +1 -0
- package/dist/pointGroups/keys.js +120 -0
- package/dist/pointGroups/keys.js.map +1 -0
- package/dist/pointGroups/magneticSymbols.d.ts +6 -5
- package/dist/pointGroups/magneticSymbols.d.ts.map +1 -1
- package/dist/pointGroups/magneticSymbols.js +15 -12
- package/dist/pointGroups/magneticSymbols.js.map +1 -1
- package/dist/pointGroups/orbits.d.ts +23 -42
- package/dist/pointGroups/orbits.d.ts.map +1 -1
- package/dist/pointGroups/orbits.js +20 -62
- package/dist/pointGroups/orbits.js.map +1 -1
- package/dist/pointGroups/pointGroups.d.ts +145 -68
- package/dist/pointGroups/pointGroups.d.ts.map +1 -1
- package/dist/pointGroups/pointGroups.js +455 -243
- package/dist/pointGroups/pointGroups.js.map +1 -1
- package/dist/pointGroups/properties.d.ts +21 -22
- package/dist/pointGroups/properties.d.ts.map +1 -1
- package/dist/pointGroups/properties.js +40 -37
- package/dist/pointGroups/properties.js.map +1 -1
- package/dist/pointGroups/seitzData.d.ts +26 -0
- package/dist/pointGroups/seitzData.d.ts.map +1 -0
- package/dist/pointGroups/seitzData.js +130 -0
- package/dist/pointGroups/seitzData.js.map +1 -0
- package/dist/pointGroups/shubnikovData.d.ts +11 -0
- package/dist/pointGroups/shubnikovData.d.ts.map +1 -0
- package/dist/pointGroups/shubnikovData.js +101 -0
- package/dist/pointGroups/shubnikovData.js.map +1 -0
- package/dist/pointGroups/wyckoff.d.ts +70 -40
- package/dist/pointGroups/wyckoff.d.ts.map +1 -1
- package/dist/pointGroups/wyckoff.js +98 -91
- package/dist/pointGroups/wyckoff.js.map +1 -1
- package/dist/pointGroups/wyckoffData.d.ts +7 -4
- package/dist/pointGroups/wyckoffData.d.ts.map +1 -1
- package/dist/pointGroups/wyckoffData.js +789 -168
- package/dist/pointGroups/wyckoffData.js.map +1 -1
- package/dist/siteSymmetry.d.ts +8 -16
- package/dist/siteSymmetry.d.ts.map +1 -1
- package/dist/siteSymmetry.js +34 -24
- package/dist/siteSymmetry.js.map +1 -1
- package/dist/spaceGroups/affine.d.ts.map +1 -1
- package/dist/spaceGroups/affine.js +3 -2
- package/dist/spaceGroups/affine.js.map +1 -1
- package/dist/spaceGroups/cell.d.ts +43 -31
- package/dist/spaceGroups/cell.d.ts.map +1 -1
- package/dist/spaceGroups/cell.js +173 -85
- package/dist/spaceGroups/cell.js.map +1 -1
- package/dist/spaceGroups/describe.d.ts +13 -10
- package/dist/spaceGroups/describe.d.ts.map +1 -1
- package/dist/spaceGroups/describe.js +11 -10
- package/dist/spaceGroups/describe.js.map +1 -1
- package/dist/spaceGroups/planeGroupData.d.ts +3 -1
- package/dist/spaceGroups/planeGroupData.d.ts.map +1 -1
- package/dist/spaceGroups/planeGroupData.js +25 -8
- package/dist/spaceGroups/planeGroupData.js.map +1 -1
- package/dist/spaceGroups/planeGroups.d.ts.map +1 -1
- package/dist/spaceGroups/planeGroups.js +2 -1
- package/dist/spaceGroups/planeGroups.js.map +1 -1
- package/dist/spaceGroups/planeLattice.d.ts +78 -0
- package/dist/spaceGroups/planeLattice.d.ts.map +1 -0
- package/dist/spaceGroups/planeLattice.js +143 -0
- package/dist/spaceGroups/planeLattice.js.map +1 -0
- package/dist/spaceGroups/planePointGroups.d.ts +6 -2
- package/dist/spaceGroups/planePointGroups.d.ts.map +1 -1
- package/dist/spaceGroups/planePointGroups.js +14 -2
- package/dist/spaceGroups/planePointGroups.js.map +1 -1
- package/dist/spaceGroups/positions.d.ts +48 -19
- package/dist/spaceGroups/positions.d.ts.map +1 -1
- package/dist/spaceGroups/positions.js +166 -67
- package/dist/spaceGroups/positions.js.map +1 -1
- package/dist/spaceGroups/rational.d.ts +18 -0
- package/dist/spaceGroups/rational.d.ts.map +1 -1
- package/dist/spaceGroups/rational.js +58 -0
- package/dist/spaceGroups/rational.js.map +1 -1
- package/dist/tensors/propertyTable.d.ts +3 -1
- package/dist/tensors/propertyTable.d.ts.map +1 -1
- package/dist/tensors/propertyTable.js +17 -10
- package/dist/tensors/propertyTable.js.map +1 -1
- package/dist/tensors/rowEchelon.d.ts +3 -3
- package/dist/tensors/rowEchelon.d.ts.map +1 -1
- package/dist/tensors/rowEchelon.js +4 -4
- package/dist/tensors/rowEchelon.js.map +1 -1
- package/dist/tensors/tensorForm.d.ts +75 -34
- package/dist/tensors/tensorForm.d.ts.map +1 -1
- package/dist/tensors/tensorForm.js +171 -67
- package/dist/tensors/tensorForm.js.map +1 -1
- package/dist/tensors/tensorProperties.d.ts +10 -9
- package/dist/tensors/tensorProperties.d.ts.map +1 -1
- package/dist/tensors/tensorProperties.js +22 -12
- package/dist/tensors/tensorProperties.js.map +1 -1
- package/dist/tensors/voigt.d.ts +56 -0
- package/dist/tensors/voigt.d.ts.map +1 -0
- package/dist/tensors/voigt.js +188 -0
- package/dist/tensors/voigt.js.map +1 -0
- package/dist/tolerances.d.ts +56 -1
- package/dist/tolerances.d.ts.map +1 -1
- package/dist/tolerances.js +51 -1
- package/dist/tolerances.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/src/cell.ts +78 -51
- package/src/checks.ts +84 -0
- package/src/closure.ts +214 -0
- package/src/coordinates.ts +370 -0
- package/src/crystalClasses.ts +271 -157
- package/src/freeze.ts +14 -0
- package/src/index.ts +33 -12
- package/src/indices.ts +102 -42
- package/src/lattice.ts +41 -1
- package/src/linalg.ts +3 -3
- package/src/magnetic.ts +24 -11
- package/src/notation.ts +73 -0
- package/src/operations.ts +78 -71
- package/src/plane.ts +531 -151
- package/src/pointGroups/crystalForms.ts +11 -44
- package/src/pointGroups/crystalFormsData.ts +66 -1
- package/src/pointGroups/elements.ts +82 -92
- package/src/pointGroups/identify.ts +38 -97
- package/src/pointGroups/itaOrder.ts +117 -101
- package/src/pointGroups/itcData.ts +404 -0
- package/src/pointGroups/itcMagneticData.ts +206 -0
- package/src/pointGroups/keys.ts +144 -0
- package/src/pointGroups/magneticSymbols.ts +18 -17
- package/src/pointGroups/orbits.ts +41 -89
- package/src/pointGroups/pointGroups.ts +593 -298
- package/src/pointGroups/properties.ts +44 -40
- package/src/pointGroups/seitzData.ts +147 -0
- package/src/pointGroups/shubnikovData.ts +103 -0
- package/src/pointGroups/wyckoff.ts +137 -112
- package/src/pointGroups/wyckoffData.ts +793 -170
- package/src/siteSymmetry.ts +43 -40
- package/src/spaceGroups/affine.ts +3 -2
- package/src/spaceGroups/cell.ts +227 -116
- package/src/spaceGroups/describe.ts +23 -19
- package/src/spaceGroups/planeGroupData.ts +28 -9
- package/src/spaceGroups/planeGroups.ts +2 -1
- package/src/spaceGroups/planeLattice.ts +208 -0
- package/src/spaceGroups/planePointGroups.ts +23 -3
- package/src/spaceGroups/positions.ts +202 -78
- package/src/spaceGroups/rational.ts +59 -0
- package/src/tensors/propertyTable.ts +26 -14
- package/src/tensors/rowEchelon.ts +4 -3
- package/src/tensors/tensorForm.ts +258 -88
- package/src/tensors/tensorProperties.ts +34 -14
- package/src/tensors/voigt.ts +268 -0
- package/src/tolerances.ts +66 -1
- package/src/version.ts +1 -1
- package/dist/pointGroups/data.d.ts +0 -75
- package/dist/pointGroups/data.d.ts.map +0 -1
- package/dist/pointGroups/data.js +0 -212
- package/dist/pointGroups/data.js.map +0 -1
- package/dist/pointGroups/magneticData.d.ts +0 -66
- package/dist/pointGroups/magneticData.d.ts.map +0 -1
- package/dist/pointGroups/magneticData.js +0 -184
- package/dist/pointGroups/magneticData.js.map +0 -1
- package/dist/spaceGroups/snap.d.ts +0 -20
- package/dist/spaceGroups/snap.d.ts.map +0 -1
- package/dist/spaceGroups/snap.js +0 -103
- package/dist/spaceGroups/snap.js.map +0 -1
- package/src/pointGroups/data.ts +0 -305
- package/src/pointGroups/magneticData.ts +0 -328
- package/src/spaceGroups/snap.ts +0 -121
package/dist/plane.d.ts
CHANGED
|
@@ -9,10 +9,16 @@
|
|
|
9
9
|
* overlap. Functions that take a point take its coordinates in the lattice basis and an optional
|
|
10
10
|
* `tolerance` (docs/conventions.md, "Plane groups").
|
|
11
11
|
*/
|
|
12
|
+
import { type PlaneOperationKind } from './spaceGroups/describe.js';
|
|
12
13
|
import { type PlaneSystem } from './spaceGroups/planeGroupData.js';
|
|
14
|
+
import { type CellRestrictions, type LatticeParameters, type Mat2, type PlaneBravaisLattice } from './spaceGroups/planeLattice.js';
|
|
13
15
|
import { type PlanePointGroupKey } from './spaceGroups/planePointGroups.js';
|
|
14
16
|
export { VERSION } from './version.js';
|
|
17
|
+
export { EPSILON, type ToleranceOptions } from './tolerances.js';
|
|
18
|
+
import { type ToleranceOptions } from './tolerances.js';
|
|
15
19
|
export type { PlaneSystem } from './spaceGroups/planeGroupData.js';
|
|
20
|
+
export type { CellRestrictions, LatticeParameters, Mat2, PlaneBravaisLattice, PlaneCellParameter, PlaneFixedAngles, } from './spaceGroups/planeLattice.js';
|
|
21
|
+
export type { PlaneOperationKind } from './spaceGroups/describe.js';
|
|
16
22
|
/** The short symbol of a plane group, e.g. `'p2mg'`. */
|
|
17
23
|
export type PlaneGroupKey = 'p1' | 'p2' | 'pm' | 'pg' | 'cm' | 'p2mm' | 'p2mg' | 'p2gg' | 'c2mm' | 'p4' | 'p4mm' | 'p4gm' | 'p3' | 'p3m1' | 'p31m' | 'p6' | 'p6mm';
|
|
18
24
|
/** The key of a plane point group, e.g. `'2mm'`. */
|
|
@@ -23,16 +29,17 @@ export declare const PLANE_GROUP_KEYS: readonly PlaneGroupKey[];
|
|
|
23
29
|
export declare const POINT_GROUP_KEYS: readonly PointGroupKey[];
|
|
24
30
|
/** Options that choose the setting of a plane point group. */
|
|
25
31
|
export interface SettingOptions {
|
|
26
|
-
/** 1-based setting: for the point group `3m` 1 is `3m1` (default) and 2 is `31m`; the other point groups have one, and a plane group takes only 1. */
|
|
27
|
-
readonly setting?: number;
|
|
28
|
-
}
|
|
29
|
-
/** Options of the functions that take a point. */
|
|
30
|
-
export interface PointOptions {
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
33
|
+
* The setting, by its 1-based index or its symbol (spaces ignored): for the point group `3m` 1 or
|
|
34
|
+
* `'3m1'` (default) and 2 or `'31m'`, and the key `'3m'` names the default; the other point groups
|
|
35
|
+
* have one, and a plane group takes only 1 or its own symbol (short or full).
|
|
34
36
|
*/
|
|
35
|
-
readonly
|
|
37
|
+
readonly setting?: number | string;
|
|
38
|
+
}
|
|
39
|
+
/** Options of `symbol`: the setting, and the form of a plane group's symbol. */
|
|
40
|
+
export interface SymbolOptions extends SettingOptions {
|
|
41
|
+
/** `'short'` (default): the symbol as one word, the key; `'full'`: the full symbol, positions separated by spaces (`'p 1 m 1'` for `pm`). */
|
|
42
|
+
readonly form?: 'short' | 'full';
|
|
36
43
|
}
|
|
37
44
|
/** An operation (W, w) in the lattice basis: x ↦ W·x + w. */
|
|
38
45
|
export interface PlaneOperation {
|
|
@@ -47,20 +54,23 @@ export interface PlaneGroup {
|
|
|
47
54
|
readonly key: PlaneGroupKey;
|
|
48
55
|
/** The number of the plane group, 1 to 17. */
|
|
49
56
|
readonly number: number;
|
|
50
|
-
/** The full symbol as ITA prints it, e.g. `'p2mg'` or `'p1m1'`. */
|
|
51
|
-
readonly fullSymbol: string;
|
|
52
57
|
/** The plane point group. */
|
|
53
58
|
readonly pointGroup: PointGroupKey;
|
|
54
59
|
/** The setting of the point group: 2 for `p31m`, otherwise 1. */
|
|
55
60
|
readonly pointGroupSetting: number;
|
|
56
61
|
/** The crystal system. */
|
|
57
62
|
readonly crystalSystem: PlaneSystem;
|
|
63
|
+
/** The Bravais lattice (ITA 2016 Table 2.1.1.1, p. 143): `'mp'`, `'op'`, `'oc'`, `'tp'` or `'hp'`. */
|
|
64
|
+
readonly bravaisLattice: PlaneBravaisLattice;
|
|
65
|
+
/**
|
|
66
|
+
* The Patterson symmetry as ITA prints it in the headline of the group (Chapter 2.2), a plane group:
|
|
67
|
+
* the lattice of the group with its Laue class, e.g. `'p2mm'` for `p2mg`, `'c2mm'` for `cm`.
|
|
68
|
+
*/
|
|
69
|
+
readonly pattersonSymmetry: PlaneGroupKey;
|
|
58
70
|
/** The centring translations besides (0, 0): `[[0.5, 0.5]]` for `cm` and `c2mm`, otherwise none. */
|
|
59
71
|
readonly centring: readonly (readonly number[])[];
|
|
60
|
-
/** The block "Origin" as ITA prints it, e.g. `'at
|
|
72
|
+
/** The block "Origin" as ITA prints it, its positions spaced as printed, e.g. `'at 2 m m'`, `'at 2 1 g'`. */
|
|
61
73
|
readonly origin: string;
|
|
62
|
-
/** The order of the group modulo the lattice: the number of `operations`. */
|
|
63
|
-
readonly order: number;
|
|
64
74
|
}
|
|
65
75
|
/** A plane point group. */
|
|
66
76
|
export interface PointGroup {
|
|
@@ -70,6 +80,23 @@ export interface PointGroup {
|
|
|
70
80
|
readonly crystalSystem: PlaneSystem;
|
|
71
81
|
/** The order of the group. */
|
|
72
82
|
readonly order: number;
|
|
83
|
+
/**
|
|
84
|
+
* The Laue class: the point group with the symmetry centre of the plane, the twofold rotation,
|
|
85
|
+
* added (ITA 2016 § 3.2.1.1, p. 720); one of `'2'`, `'2mm'`, `'4'`, `'4mm'`, `'6'`, `'6mm'`.
|
|
86
|
+
*/
|
|
87
|
+
readonly laueClass: PointGroupKey;
|
|
88
|
+
}
|
|
89
|
+
/** A plane group found by `findPlaneGroup`. */
|
|
90
|
+
export interface PlaneGroupFound {
|
|
91
|
+
/** The key of the plane group. */
|
|
92
|
+
readonly key: PlaneGroupKey;
|
|
93
|
+
}
|
|
94
|
+
/** A plane point group in a setting, as `findPointGroup` finds it. */
|
|
95
|
+
export interface PointGroupInSetting {
|
|
96
|
+
/** The key of the plane point group. */
|
|
97
|
+
readonly key: PointGroupKey;
|
|
98
|
+
/** The 1-based index of the setting. */
|
|
99
|
+
readonly setting: number;
|
|
73
100
|
}
|
|
74
101
|
/** A setting of a plane point group. */
|
|
75
102
|
export interface Setting {
|
|
@@ -78,14 +105,17 @@ export interface Setting {
|
|
|
78
105
|
/** Its symbol: `'3m1'` or `'31m'` for `3m`, otherwise the key. */
|
|
79
106
|
readonly symbol: string;
|
|
80
107
|
/** True for the default setting (setting 1). */
|
|
81
|
-
readonly
|
|
108
|
+
readonly isDefault: boolean;
|
|
82
109
|
}
|
|
83
110
|
/** What an operation is, geometrically, as ITA describes it under "Symmetry operations". */
|
|
84
111
|
export interface OperationDescription {
|
|
85
|
-
/**
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
112
|
+
/**
|
|
113
|
+
* `'identity'`, `'translation'`, `'rotation'`, `'reflection'` (in a line) or `'glide-reflection'`,
|
|
114
|
+
* as ITA names the operations (ITA 2016 Table 2.1.2.1, p. 145).
|
|
115
|
+
*/
|
|
116
|
+
readonly kind: PlaneOperationKind;
|
|
117
|
+
/** The n of the linear part (an n-fold rotation): 1 for the identity and a translation, 2 for a reflection or glide reflection. */
|
|
118
|
+
readonly n: number;
|
|
89
119
|
/** For a rotation of order 3 or more: `'+'` if it turns a towards b, `'-'` otherwise. */
|
|
90
120
|
readonly sense?: '+' | '-';
|
|
91
121
|
/** For a translation: the translation vector. */
|
|
@@ -98,12 +128,14 @@ export interface OperationDescription {
|
|
|
98
128
|
/** For a mirror or glide: the direction of its line, the shortest integer vector, first non-zero component positive. */
|
|
99
129
|
readonly direction?: readonly number[];
|
|
100
130
|
/**
|
|
101
|
-
* For a
|
|
102
|
-
*
|
|
103
|
-
*
|
|
131
|
+
* For a reflection or glide reflection: its axis, the normal of its line in the lattice basis (as
|
|
132
|
+
* the `axis` of a reflection of the point groups is the normal of its plane, #137 C3), its symmetry
|
|
133
|
+
* direction with the sign of its Seitz symbol (ITA 2016 Tables 1.4.2.4, 1.4.2.5, p. 53: `m₁₀`, `m₁₂`,
|
|
134
|
+
* #107, #114): the shortest integer vector along the columns of W − I, first non-zero component
|
|
135
|
+
* positive, which is the Seitz direction for every plane group (tested). Without a metric it is not the perpendicular of `direction`: in a hexagonal
|
|
104
136
|
* basis the normal of a line along [1,0] is [1,2].
|
|
105
137
|
*/
|
|
106
|
-
readonly
|
|
138
|
+
readonly axis?: readonly number[];
|
|
107
139
|
/** For a glide: the glide vector (w + W·w)/2, not reduced modulo the lattice. */
|
|
108
140
|
readonly glide?: readonly number[];
|
|
109
141
|
}
|
|
@@ -118,56 +150,108 @@ export interface WyckoffPosition {
|
|
|
118
150
|
/** The printed coordinates of the (0,0)+ set, e.g. `['x,0', '-x,0']`; a leading `-` is an overbar. */
|
|
119
151
|
readonly coordinates: readonly string[];
|
|
120
152
|
}
|
|
121
|
-
/**
|
|
122
|
-
export interface
|
|
123
|
-
/** The point
|
|
153
|
+
/** The distance of a point to a Wyckoff position: the position, as `wyckoffPositions` gives it, the nearest point of it, and the distance. */
|
|
154
|
+
export interface WyckoffDistance extends WyckoffPosition {
|
|
155
|
+
/** The point of the position nearest to the given one (lattice basis), modulo the lattice, in [0, 1). */
|
|
124
156
|
readonly point: readonly number[];
|
|
157
|
+
/**
|
|
158
|
+
* The distance of the given point to the position: without a basis the larger of the two
|
|
159
|
+
* coordinate differences modulo the lattice, with a basis Euclidean in its unit.
|
|
160
|
+
*/
|
|
161
|
+
readonly distance: number;
|
|
162
|
+
}
|
|
163
|
+
/** Options of `wyckoffDistances`. */
|
|
164
|
+
export interface WyckoffDistanceOptions {
|
|
165
|
+
/**
|
|
166
|
+
* The Cartesian basis of the lattice, a 2 × 2 matrix whose columns are a and b; with it the
|
|
167
|
+
* distances are Euclidean, without it they are measured per lattice coordinate.
|
|
168
|
+
*/
|
|
169
|
+
readonly basis?: readonly (readonly number[])[];
|
|
125
170
|
}
|
|
126
171
|
/** The site symmetry of a point under a plane group. */
|
|
127
172
|
export interface SiteSymmetry {
|
|
128
173
|
/** Indices into `operations` of those that map the point onto itself modulo the lattice, ascending: a subgroup. */
|
|
129
174
|
readonly operations: readonly number[];
|
|
130
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* The point set onto the Wyckoff position it lies on (the nearest point of the position, as
|
|
177
|
+
* `wyckoffDistances` gives it), in [0, 1).
|
|
178
|
+
*/
|
|
131
179
|
readonly point: readonly number[];
|
|
132
180
|
/** The number of points in the conventional cell equivalent to it. */
|
|
133
181
|
readonly multiplicity: number;
|
|
134
182
|
/** True if no operation other than the identity maps the point onto itself (general position). */
|
|
135
183
|
readonly general: boolean;
|
|
136
184
|
}
|
|
137
|
-
/** The asymmetric unit of a plane group,
|
|
185
|
+
/** The asymmetric unit of a plane group: the printed inequalities, and the convex polygon they bound (lattice basis). */
|
|
138
186
|
export interface AsymmetricUnit {
|
|
139
|
-
/**
|
|
140
|
-
|
|
141
|
-
|
|
187
|
+
/**
|
|
188
|
+
* The inequalities as ITA prints them, in printed order, each [a, b, c] for a·x + b·y ≤ c
|
|
189
|
+
* (integers, no common factor), also those that hold no edge of the polygon (p3: x ≤ 2/3).
|
|
190
|
+
*/
|
|
142
191
|
readonly inequalities: readonly (readonly number[])[];
|
|
192
|
+
/** The vertices of the polygon, counter-clockwise (a towards b), starting at the lowest (smallest y, then x). */
|
|
193
|
+
readonly vertices: readonly (readonly number[])[];
|
|
194
|
+
/** Per edge, from vertex i to vertex i + 1, the index into `inequalities` of the inequality that holds it. */
|
|
195
|
+
readonly edges: readonly number[];
|
|
143
196
|
}
|
|
144
|
-
/** A rotation
|
|
145
|
-
export interface
|
|
146
|
-
/** The highest
|
|
147
|
-
readonly
|
|
148
|
-
/** Its
|
|
197
|
+
/** A rotation point (ITA 2016 Table 2.1.2.1, p. 145: the symmetry element of a rotation in the plane). */
|
|
198
|
+
export interface RotationPoint {
|
|
199
|
+
/** The highest n of an n-fold rotation about it. */
|
|
200
|
+
readonly n: number;
|
|
201
|
+
/** Its location, lattice basis. */
|
|
149
202
|
readonly point: readonly number[];
|
|
150
203
|
}
|
|
151
|
-
/** A mirror or glide line
|
|
204
|
+
/** A mirror or glide line, as a point and a direction (lattice basis). */
|
|
152
205
|
export interface SymmetryLine {
|
|
153
206
|
/** `'mirror'` or `'glide'`. */
|
|
154
207
|
readonly kind: 'mirror' | 'glide';
|
|
155
208
|
/** The direction of the line, the shortest integer vector, first non-zero component positive. */
|
|
156
209
|
readonly direction: readonly number[];
|
|
157
|
-
/** The normal of the line in the lattice basis, as in `describeOperations`. */
|
|
158
|
-
readonly
|
|
210
|
+
/** The normal of the line in the lattice basis, its symmetry direction, as `axis` in `describeOperations`. */
|
|
211
|
+
readonly axis: readonly number[];
|
|
159
212
|
/** For a glide line its glide vector s·direction, 0 < s < 1; for a mirror line (0, 0). */
|
|
160
213
|
readonly glide: readonly number[];
|
|
161
|
-
/**
|
|
162
|
-
readonly
|
|
214
|
+
/** A point of the line: its intersection with y = 0, or with x = 0 for a line along a. */
|
|
215
|
+
readonly point: readonly number[];
|
|
163
216
|
}
|
|
164
|
-
/**
|
|
217
|
+
/** Symmetry elements of a plane group. */
|
|
165
218
|
export interface SymmetryElements {
|
|
166
|
-
/** The rotation
|
|
167
|
-
readonly
|
|
168
|
-
/** The mirror and glide lines
|
|
219
|
+
/** The rotation points, by descending n, then by y and x. */
|
|
220
|
+
readonly rotationPoints: readonly RotationPoint[];
|
|
221
|
+
/** The mirror and glide lines, by direction, then by their point (x on y = 0, or y on x = 0), mirror before glide. */
|
|
169
222
|
readonly lines: readonly SymmetryLine[];
|
|
170
223
|
}
|
|
224
|
+
/** Options of `symmetryElements`. */
|
|
225
|
+
export interface SymmetryElementsOptions {
|
|
226
|
+
/**
|
|
227
|
+
* A box of the plane, lattice basis, as its lower left and its upper right corner (x₀ ≤ x₁,
|
|
228
|
+
* y₀ ≤ y₁; a line or a point of the plane also): all lattice translates of the elements that meet
|
|
229
|
+
* it, boundary included, the lines not clipped.
|
|
230
|
+
*/
|
|
231
|
+
readonly box?: readonly (readonly number[])[];
|
|
232
|
+
}
|
|
233
|
+
/** True if `key` is the key of one of the 17 plane groups (its short symbol, as ITA prints it). */
|
|
234
|
+
export declare function isPlaneGroupKey(key: string): key is PlaneGroupKey;
|
|
235
|
+
/** True if `key` is the key of one of the 10 plane point groups. */
|
|
236
|
+
export declare function isPointGroupKey(key: string): key is PointGroupKey;
|
|
237
|
+
/** The 17 plane groups, in ITA's order (plane group n at index n − 1). */
|
|
238
|
+
export declare function planeGroups(): readonly PlaneGroup[];
|
|
239
|
+
/** The 10 plane point groups, in the order of ITA Table 3.2.1.1. */
|
|
240
|
+
export declare function pointGroups(): readonly PointGroup[];
|
|
241
|
+
/**
|
|
242
|
+
* Finds a plane group by a symbol: the key (the short symbol, `'pm'`) or the full symbol (`'p1m1'`,
|
|
243
|
+
* `'p 1 m 1'`), spaces ignored (docs/conventions.md, "Reading symbols"). The lattice letter is
|
|
244
|
+
* lower case, as ITA prints it. Gives `undefined` if the symbol names no plane group; throws a
|
|
245
|
+
* RangeError for a value that is not a string.
|
|
246
|
+
*/
|
|
247
|
+
export declare function findPlaneGroup(symbol: string): PlaneGroupFound | undefined;
|
|
248
|
+
/**
|
|
249
|
+
* Finds a plane point group by a symbol: the key, or the symbol of a setting (`'3m1'`, `'31m'`),
|
|
250
|
+
* spaces ignored; the key `'3m'` gives the default setting 1. Gives `undefined` if the symbol names
|
|
251
|
+
* no plane point group, also for the symbol of a plane group (that is `findPlaneGroup`); throws a
|
|
252
|
+
* RangeError for a value that is not a string.
|
|
253
|
+
*/
|
|
254
|
+
export declare function findPointGroup(symbol: string): PointGroupInSetting | undefined;
|
|
171
255
|
/** The plane group with this key (short symbol). Throws a RangeError for an unknown key. */
|
|
172
256
|
export declare function planeGroup(key: PlaneGroupKey): PlaneGroup;
|
|
173
257
|
/** The plane point group with this key. Throws a RangeError for an unknown key. */
|
|
@@ -177,8 +261,16 @@ export declare function pointGroup(key: PointGroupKey): PointGroup;
|
|
|
177
261
|
* others. Throws a RangeError for an unknown key.
|
|
178
262
|
*/
|
|
179
263
|
export declare function settings(key: PointGroupKey): readonly Setting[];
|
|
180
|
-
/**
|
|
181
|
-
|
|
264
|
+
/**
|
|
265
|
+
* The symbol of a plane group or a plane point group (#137 F4). In the short form (the default) the
|
|
266
|
+
* Hermann–Mauguin symbol as one word: for a plane group the key (`'p2mg'`, `'pm'`), for a plane
|
|
267
|
+
* point group in a setting `'3m1'` or `'31m'` for `3m`, otherwise the key. In the form `'full'`
|
|
268
|
+
* the full symbol with its positions separated by spaces, as in the other entry points: `'p 1 m 1'`
|
|
269
|
+
* for `pm` (ITA prints `p1m1`), `'p 2 m g'`, `'3 m 1'`; ITA prints no other full symbol for a plane
|
|
270
|
+
* point group (Ch. 3.2, p. 721, and Table 3.2.3.1). A plane group has setting 1 only. Throws a
|
|
271
|
+
* RangeError for an unknown key, setting or form.
|
|
272
|
+
*/
|
|
273
|
+
export declare function symbol(key: PlaneGroupKey | PointGroupKey, options?: SymbolOptions): string;
|
|
182
274
|
/**
|
|
183
275
|
* The operations of a plane group or a plane point group, in ITA's order, identity first. A plane
|
|
184
276
|
* group: one per coset of the integer translations, translations in [0, 1), the general position
|
|
@@ -196,7 +288,7 @@ export declare function operations(key: PlaneGroupKey | PointGroupKey, options?:
|
|
|
196
288
|
export declare function generators(key: PlaneGroupKey | PointGroupKey, options?: SettingOptions): readonly PlaneOperation[];
|
|
197
289
|
/**
|
|
198
290
|
* Each operation of `operations` (same key and setting) described geometrically, index for index:
|
|
199
|
-
* what it is, its
|
|
291
|
+
* what it is, its n and sense, where its symmetry element lies, its glide part. Throws a
|
|
200
292
|
* RangeError for an unknown key or setting.
|
|
201
293
|
*/
|
|
202
294
|
export declare function describeOperations(key: PlaneGroupKey | PointGroupKey, options?: SettingOptions): readonly OperationDescription[];
|
|
@@ -205,12 +297,13 @@ export declare function describeOperations(key: PlaneGroupKey | PointGroupKey, o
|
|
|
205
297
|
* `describeOperations` describes those of a group: for instance a product of operations, an
|
|
206
298
|
* operation shifted by a lattice translation, or the operations of a site symmetry. Each operation is
|
|
207
299
|
* `{ matrix, translation }` as `operations` gives it. Each matrix must have integer entries (within
|
|
208
|
-
*
|
|
209
|
-
* 2, 3, 4 or 6); each
|
|
210
|
-
* 12 (1/3
|
|
211
|
-
* RangeError otherwise
|
|
300
|
+
* the tolerance, per entry) and be the linear part of a crystallographic plane point group
|
|
301
|
+
* (determinant ±1, order 1, 2, 3, 4 or 6); each component of a translation is read as the fraction
|
|
302
|
+
* with a denominator of at most 12 within the tolerance (1/3 from 0.333…), as the translations of
|
|
303
|
+
* `operations` and their products are. Throws a RangeError otherwise, also for a component within
|
|
304
|
+
* the tolerance of two such fractions (which can lie 1/132 apart).
|
|
212
305
|
*/
|
|
213
|
-
export declare function describeOperationsOf(operations: readonly PlaneOperation[]): readonly OperationDescription[];
|
|
306
|
+
export declare function describeOperationsOf(operations: readonly PlaneOperation[], options?: ToleranceOptions): readonly OperationDescription[];
|
|
214
307
|
/**
|
|
215
308
|
* The Wyckoff positions of a plane group as ITA prints them, general position first. Throws a
|
|
216
309
|
* RangeError for an unknown key and for a plane point group, whose positions are not in symcrys
|
|
@@ -218,45 +311,169 @@ export declare function describeOperationsOf(operations: readonly PlaneOperation
|
|
|
218
311
|
*/
|
|
219
312
|
export declare function wyckoffPositions(key: PlaneGroupKey): readonly WyckoffPosition[];
|
|
220
313
|
/**
|
|
221
|
-
* The site symmetry of a point (lattice basis) under a plane group
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
314
|
+
* The site symmetry of a point (lattice basis) under a plane group, as one notion with its Wyckoff
|
|
315
|
+
* position (#137 F1): the point is set onto the position it lies on within the tolerance
|
|
316
|
+
* (`wyckoffPosition`), and the site symmetry is that of the point there; `point` is the point on the
|
|
317
|
+
* position. Throws a RangeError for an unknown key, a point that is not two finite numbers, or a
|
|
318
|
+
* tolerance outside (0, 1/2).
|
|
225
319
|
*/
|
|
226
|
-
export declare function siteSymmetry(key: PlaneGroupKey, point: readonly number[], options?:
|
|
320
|
+
export declare function siteSymmetry(key: PlaneGroupKey, point: readonly number[], options?: ToleranceOptions): SiteSymmetry;
|
|
227
321
|
/**
|
|
228
322
|
* The Wyckoff position of a point (lattice basis) under a plane group, as `wyckoffPositions` gives
|
|
229
|
-
* it: the printed position
|
|
230
|
-
*
|
|
323
|
+
* it: the most special printed position whose point set lies within the tolerance of the point,
|
|
324
|
+
* measured per coordinate modulo the lattice, and among positions of equal multiplicity the nearest
|
|
325
|
+
* (the distance of `wyckoffDistances`); the general position always holds the point. Throws a
|
|
326
|
+
* RangeError as `siteSymmetry`.
|
|
231
327
|
*/
|
|
232
|
-
export declare function
|
|
328
|
+
export declare function wyckoffPosition(key: PlaneGroupKey, point: readonly number[], options?: ToleranceOptions): WyckoffPosition;
|
|
233
329
|
/**
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
* lattice
|
|
330
|
+
* The distance of a point (lattice basis) to every Wyckoff position of a plane group, in the
|
|
331
|
+
* printed order of `wyckoffPositions`, each with the nearest point of the position (#137 F1, #108).
|
|
332
|
+
* The point set of a position is the union of its printed coordinates with every centring and
|
|
333
|
+
* lattice translation: a point, a line or the plane. Without a basis the distance is the larger of
|
|
334
|
+
* the two coordinate differences modulo the lattice, the metric of the tolerance of
|
|
335
|
+
* `wyckoffPosition`; with a basis (columns a, b) it is Euclidean, and the nearest point is the
|
|
336
|
+
* Euclidean nearest one; per coordinate the nearest point of a line need not be unique (on x,0 every x
|
|
337
|
+
* within the distance is as near), and then it is one of them. The basis should be a reduced cell,
|
|
338
|
+
* such as the conventional one: the nearest lattice translate is sought near the rounded
|
|
339
|
+
* coordinates. How to snap a dragged point onto a position (which position wins, within
|
|
340
|
+
* which radius) is the application's choice; this gives the numbers for it. Throws a RangeError for
|
|
341
|
+
* an unknown key, a point that is not two finite numbers, and a basis that is not a non-singular
|
|
342
|
+
* 2 × 2 matrix.
|
|
243
343
|
*/
|
|
244
|
-
export declare function
|
|
344
|
+
export declare function wyckoffDistances(key: PlaneGroupKey, point: readonly number[], options?: WyckoffDistanceOptions): readonly WyckoffDistance[];
|
|
345
|
+
/** One point of the orbit of a point. */
|
|
346
|
+
export interface PointOrbitEntry {
|
|
347
|
+
/** The image, in the lattice basis, in [0, 1). */
|
|
348
|
+
readonly point: readonly number[];
|
|
349
|
+
/** Indices into `operations` of the operations that map the given point here (modulo the lattice), ascending. */
|
|
350
|
+
readonly operations: readonly number[];
|
|
351
|
+
}
|
|
245
352
|
/**
|
|
246
|
-
* The orbit of a point (lattice basis) under a plane group:
|
|
247
|
-
*
|
|
248
|
-
*
|
|
353
|
+
* The orbit of a point (lattice basis) under a plane group: the images of the point set onto its
|
|
354
|
+
* Wyckoff position (as `siteSymmetry` sets it), each in [0, 1), in the order of the operations that
|
|
355
|
+
* first give them, each with the indices of the operations that map the point there (as the
|
|
356
|
+
* entries of the orbits of the point groups): one entry per coset of the site symmetry, so the
|
|
357
|
+
* first entry holds the operations of `siteSymmetry`. Throws a RangeError as `siteSymmetry`.
|
|
249
358
|
*/
|
|
250
|
-
export declare function orbit(key: PlaneGroupKey, point: readonly number[], options?:
|
|
359
|
+
export declare function orbit(key: PlaneGroupKey, point: readonly number[], options?: ToleranceOptions): readonly PointOrbitEntry[];
|
|
251
360
|
/**
|
|
252
|
-
* The asymmetric unit of a plane group as ITA prints it
|
|
253
|
-
*
|
|
361
|
+
* The asymmetric unit of a plane group as ITA prints it (#137 F3): the printed inequalities, all of
|
|
362
|
+
* them in printed order (a double inequality and a `min` give one each), and the convex polygon
|
|
363
|
+
* they bound, with its vertices and, per edge, the index of the inequality that holds it. Throws a
|
|
364
|
+
* RangeError for an unknown key.
|
|
254
365
|
*/
|
|
255
366
|
export declare function asymmetricUnit(key: PlaneGroupKey): AsymmetricUnit;
|
|
256
367
|
/**
|
|
257
|
-
* The symmetry elements of a plane group
|
|
258
|
-
*
|
|
259
|
-
*
|
|
368
|
+
* The symmetry elements of a plane group (#137 F2). Without a box, each element once modulo the
|
|
369
|
+
* lattice translations, the centring (1/2, 1/2) included, as ITA describes them (cm: the mirror line
|
|
370
|
+
* 0,y and the glide line 1/4,y): every rotation point in [0, 1)² with the highest n of a rotation
|
|
371
|
+
* about it, and every mirror and glide line, as a point in [0, 1)² and a direction. With a box, all
|
|
372
|
+
* their lattice translates that meet it, boundary included; the lines are not clipped, since
|
|
373
|
+
* clipping is drawing. Throws a RangeError for an unknown key, a box that is not two corners of
|
|
374
|
+
* finite numbers, the first not above or right of the second, and a box with more than a million
|
|
375
|
+
* rotation points.
|
|
376
|
+
*/
|
|
377
|
+
export declare function symmetryElements(key: PlaneGroupKey, options?: SymmetryElementsOptions): SymmetryElements;
|
|
378
|
+
/**
|
|
379
|
+
* The restrictions on the cell parameters of a crystal system of the plane, as ITA 2016 Table
|
|
380
|
+
* 2.1.1.1 (p. 143) gives them for the conventional cell: the parameters to be determined, the pairs
|
|
381
|
+
* of equal parameters, the fixed angles, and the angles conventionally taken non-acute. Throws a
|
|
382
|
+
* RangeError for anything that is not one of the four crystal systems of the plane.
|
|
383
|
+
*/
|
|
384
|
+
export declare function cellRestrictions(system: PlaneSystem): CellRestrictions;
|
|
385
|
+
/**
|
|
386
|
+
* The Cartesian basis of a plane cell as the columns of a 2 × 2 matrix: a along x, b at γ from a
|
|
387
|
+
* towards +y (right-handed), in the unit of the edge lengths. Throws a RangeError for an edge that is
|
|
388
|
+
* not a positive number and for γ outside (0°, 180°).
|
|
389
|
+
*/
|
|
390
|
+
export declare function latticeFromParameters(parameters: LatticeParameters): Mat2;
|
|
391
|
+
/**
|
|
392
|
+
* The parameters a, b, γ of a basis given as the columns of a 2 × 2 Cartesian matrix, independent of
|
|
393
|
+
* its orientation and handedness. Throws a RangeError for a basis that is not a non-singular 2 × 2
|
|
394
|
+
* matrix.
|
|
395
|
+
*/
|
|
396
|
+
export declare function latticeParameters(basis: Mat2): LatticeParameters;
|
|
397
|
+
/** The metric tensor G = AᵀA of a basis A (columns a, b): g_ij = a_i · a_j. Throws a RangeError for a basis that is not a non-singular 2 × 2 matrix. */
|
|
398
|
+
export declare function metricTensor(basis: Mat2): Mat2;
|
|
399
|
+
/**
|
|
400
|
+
* The reciprocal basis B = A⁻ᵀ of a basis A (columns a, b) as the columns a*, b*, with
|
|
401
|
+
* a_i · a*_j = δ_ij (no factor 2π). Throws a RangeError for a basis that is not a non-singular 2 × 2
|
|
402
|
+
* matrix.
|
|
403
|
+
*/
|
|
404
|
+
export declare function reciprocalBasis(basis: Mat2): Mat2;
|
|
405
|
+
/** A change of the coordinate system (P, p) of the plane (ITA 2016 § 1.5.1.3, p. 83): (a′, b′) = (a, b)·P, origin O′ = O + p. */
|
|
406
|
+
export interface CoordinateTransformation {
|
|
407
|
+
/** P, the linear part: its columns are the new basis vectors a′, b′ in the old basis; det P ≠ 0, also negative. */
|
|
408
|
+
readonly linearPart: Mat2;
|
|
409
|
+
/** p, the origin shift: the coordinates of the new origin in the old coordinate system; default zero. */
|
|
410
|
+
readonly originShift?: readonly number[];
|
|
411
|
+
}
|
|
412
|
+
/** An operation (W, w) in the lattice basis, x ↦ W·x + w; a record of `operations` passes as it is. */
|
|
413
|
+
export interface AffineOperation {
|
|
414
|
+
/** The linear part W, a 2 × 2 matrix with integer entries. */
|
|
415
|
+
readonly matrix: readonly (readonly number[])[];
|
|
416
|
+
/** The translation part w; default zero, as for the operations of a point group. */
|
|
417
|
+
readonly translation?: readonly number[];
|
|
418
|
+
}
|
|
419
|
+
/** An operation (W′, w′) in the new coordinate system. */
|
|
420
|
+
export interface TransformedOperation {
|
|
421
|
+
/** W′ = P⁻¹WP, integer entries. */
|
|
422
|
+
readonly matrix: Mat2;
|
|
423
|
+
/** w′ = P⁻¹(w + (W − I)p), not reduced modulo the lattice. */
|
|
424
|
+
readonly translation: readonly number[];
|
|
425
|
+
}
|
|
426
|
+
/** The quantities that `changeOfCoordinates` transforms; each is optional. */
|
|
427
|
+
export interface CoordinateQuantities {
|
|
428
|
+
/** Point coordinates x: x′ = P⁻¹(x − p) (eq. (1.5.1.7)). */
|
|
429
|
+
readonly points?: readonly (readonly number[])[];
|
|
430
|
+
/** Coefficients [uv] of vectors, e.g. directions: [uv]′ = P⁻¹[uv] (eq. (1.5.2.3)); not changed by the origin shift. */
|
|
431
|
+
readonly directions?: readonly (readonly number[])[];
|
|
432
|
+
/** Miller indices (hk) of lines: (hk)′ = (hk)P (eq. (1.5.2.2)); not changed by the origin shift. */
|
|
433
|
+
readonly planes?: readonly (readonly number[])[];
|
|
434
|
+
/** The metric tensor G: G′ = PᵀGP (eq. (1.5.2.4)). */
|
|
435
|
+
readonly metric?: Mat2;
|
|
436
|
+
/** Operations (W, w): W′ = P⁻¹WP, w′ = P⁻¹(w + (W − I)p) (eqs. (1.5.2.12), (1.5.2.13)). */
|
|
437
|
+
readonly operations?: readonly AffineOperation[];
|
|
438
|
+
}
|
|
439
|
+
/** The inverse change of the coordinate system (Q, q) = (P, p)⁻¹. */
|
|
440
|
+
export interface InverseTransformation {
|
|
441
|
+
/** Q = P⁻¹. */
|
|
442
|
+
readonly linearPart: Mat2;
|
|
443
|
+
/** q = −P⁻¹p. */
|
|
444
|
+
readonly originShift: readonly number[];
|
|
445
|
+
}
|
|
446
|
+
/** The result of `changeOfCoordinates`: the inverse pair and each given quantity in the new coordinate system. */
|
|
447
|
+
export interface CoordinateChange {
|
|
448
|
+
/** (Q, q) = (P⁻¹, −P⁻¹p), which takes the new coordinates back to the old (eq. (1.5.1.7)). */
|
|
449
|
+
readonly inverse: InverseTransformation;
|
|
450
|
+
/** The points, as given, in the new coordinates. */
|
|
451
|
+
readonly points?: readonly (readonly number[])[];
|
|
452
|
+
/** The vector coefficients, as given, in the new basis. */
|
|
453
|
+
readonly directions?: readonly (readonly number[])[];
|
|
454
|
+
/** The Miller indices, as given, in the new basis. */
|
|
455
|
+
readonly planes?: readonly (readonly number[])[];
|
|
456
|
+
/** The metric tensor in the new basis. */
|
|
457
|
+
readonly metric?: Mat2;
|
|
458
|
+
/** The operations, as given, in the new coordinate system. */
|
|
459
|
+
readonly operations?: readonly TransformedOperation[];
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Changes the coordinate system of the plane by the pair (P, p) of ITA (6th ed., 2016) § 1.5.1.3
|
|
463
|
+
* (p. 83), with 2 × 2 matrices: the new basis is (a′, b′) = (a, b)·P and the new origin lies at p.
|
|
464
|
+
* Transforms the given quantities by ITA's equations (§ 1.5.2, pp. 83–85): point coordinates
|
|
465
|
+
* x′ = P⁻¹(x − p), vector coefficients [uv]′ = P⁻¹[uv], Miller indices (hk)′ = (hk)P, the metric
|
|
466
|
+
* tensor G′ = PᵀGP, and operations W′ = P⁻¹WP, w′ = P⁻¹(w + (W − I)p); and gives the inverse pair
|
|
467
|
+
* (Q, q) = (P⁻¹, −P⁻¹p). det P may be negative.
|
|
468
|
+
*
|
|
469
|
+
* P, p and the operations are read each number as the simplest fraction within the tolerance
|
|
470
|
+
* (default `EPSILON`; 0.3333333 is 1/3) and transformed exactly, so that every result, the inverse
|
|
471
|
+
* pair included, can be passed back; the other quantities are floating point. P is rational in a
|
|
472
|
+
* change between lattice bases, as in ITA; an irrational P (a rotation by 30°) is read as the
|
|
473
|
+
* nearby fractions, about as exact as the tolerance, and a much smaller tolerance can make the exact
|
|
474
|
+
* products leave the safe integers, a RangeError.
|
|
475
|
+
* A transformed operation is `{ matrix, translation }`. Throws a RangeError for a singular P, a quantity of the
|
|
476
|
+
* wrong shape, an unknown quantity, an operation with det W ≠ ±1, and one whose W′ is not integral.
|
|
260
477
|
*/
|
|
261
|
-
export declare function
|
|
478
|
+
export declare function changeOfCoordinates(transformation: CoordinateTransformation, quantities: CoordinateQuantities, options?: ToleranceOptions): CoordinateChange;
|
|
262
479
|
//# sourceMappingURL=plane.d.ts.map
|
package/dist/plane.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plane.d.ts","sourceRoot":"","sources":["../src/plane.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"plane.d.ts","sourceRoot":"","sources":["../src/plane.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAA0B,KAAK,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAG5F,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAQL,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,E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