@itwin/core-geometry 4.0.0-dev.55 → 4.0.0-dev.56

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.
Files changed (97) hide show
  1. package/lib/cjs/Geometry.d.ts +5 -1
  2. package/lib/cjs/Geometry.d.ts.map +1 -1
  3. package/lib/cjs/Geometry.js +5 -1
  4. package/lib/cjs/Geometry.js.map +1 -1
  5. package/lib/cjs/geometry3d/Angle.d.ts +29 -34
  6. package/lib/cjs/geometry3d/Angle.d.ts.map +1 -1
  7. package/lib/cjs/geometry3d/Angle.js +31 -36
  8. package/lib/cjs/geometry3d/Angle.js.map +1 -1
  9. package/lib/cjs/geometry3d/AngleSweep.d.ts +48 -43
  10. package/lib/cjs/geometry3d/AngleSweep.d.ts.map +1 -1
  11. package/lib/cjs/geometry3d/AngleSweep.js +48 -43
  12. package/lib/cjs/geometry3d/AngleSweep.js.map +1 -1
  13. package/lib/cjs/geometry3d/Matrix3d.d.ts +5 -8
  14. package/lib/cjs/geometry3d/Matrix3d.d.ts.map +1 -1
  15. package/lib/cjs/geometry3d/Matrix3d.js +5 -8
  16. package/lib/cjs/geometry3d/Matrix3d.js.map +1 -1
  17. package/lib/cjs/geometry3d/OrderedRotationAngles.d.ts +3 -3
  18. package/lib/cjs/geometry3d/OrderedRotationAngles.d.ts.map +1 -1
  19. package/lib/cjs/geometry3d/OrderedRotationAngles.js +3 -3
  20. package/lib/cjs/geometry3d/OrderedRotationAngles.js.map +1 -1
  21. package/lib/cjs/geometry3d/Point2dArrayCarrier.d.ts +8 -10
  22. package/lib/cjs/geometry3d/Point2dArrayCarrier.d.ts.map +1 -1
  23. package/lib/cjs/geometry3d/Point2dArrayCarrier.js +8 -10
  24. package/lib/cjs/geometry3d/Point2dArrayCarrier.js.map +1 -1
  25. package/lib/cjs/geometry3d/Point2dVector2d.d.ts +37 -34
  26. package/lib/cjs/geometry3d/Point2dVector2d.d.ts.map +1 -1
  27. package/lib/cjs/geometry3d/Point2dVector2d.js +38 -35
  28. package/lib/cjs/geometry3d/Point2dVector2d.js.map +1 -1
  29. package/lib/cjs/geometry3d/Point3dArrayCarrier.d.ts +17 -21
  30. package/lib/cjs/geometry3d/Point3dArrayCarrier.d.ts.map +1 -1
  31. package/lib/cjs/geometry3d/Point3dArrayCarrier.js +16 -20
  32. package/lib/cjs/geometry3d/Point3dArrayCarrier.js.map +1 -1
  33. package/lib/cjs/geometry3d/Point3dVector3d.d.ts +84 -67
  34. package/lib/cjs/geometry3d/Point3dVector3d.d.ts.map +1 -1
  35. package/lib/cjs/geometry3d/Point3dVector3d.js +84 -67
  36. package/lib/cjs/geometry3d/Point3dVector3d.js.map +1 -1
  37. package/lib/cjs/geometry3d/Transform.d.ts +76 -66
  38. package/lib/cjs/geometry3d/Transform.d.ts.map +1 -1
  39. package/lib/cjs/geometry3d/Transform.js +88 -77
  40. package/lib/cjs/geometry3d/Transform.js.map +1 -1
  41. package/lib/cjs/geometry3d/YawPitchRollAngles.d.ts +15 -16
  42. package/lib/cjs/geometry3d/YawPitchRollAngles.d.ts.map +1 -1
  43. package/lib/cjs/geometry3d/YawPitchRollAngles.js +14 -15
  44. package/lib/cjs/geometry3d/YawPitchRollAngles.js.map +1 -1
  45. package/lib/cjs/serialization/GeometrySamples.d.ts +72 -58
  46. package/lib/cjs/serialization/GeometrySamples.d.ts.map +1 -1
  47. package/lib/cjs/serialization/GeometrySamples.js +132 -108
  48. package/lib/cjs/serialization/GeometrySamples.js.map +1 -1
  49. package/lib/esm/Geometry.d.ts +5 -1
  50. package/lib/esm/Geometry.d.ts.map +1 -1
  51. package/lib/esm/Geometry.js +5 -1
  52. package/lib/esm/Geometry.js.map +1 -1
  53. package/lib/esm/geometry3d/Angle.d.ts +29 -34
  54. package/lib/esm/geometry3d/Angle.d.ts.map +1 -1
  55. package/lib/esm/geometry3d/Angle.js +31 -36
  56. package/lib/esm/geometry3d/Angle.js.map +1 -1
  57. package/lib/esm/geometry3d/AngleSweep.d.ts +48 -43
  58. package/lib/esm/geometry3d/AngleSweep.d.ts.map +1 -1
  59. package/lib/esm/geometry3d/AngleSweep.js +48 -43
  60. package/lib/esm/geometry3d/AngleSweep.js.map +1 -1
  61. package/lib/esm/geometry3d/Matrix3d.d.ts +5 -8
  62. package/lib/esm/geometry3d/Matrix3d.d.ts.map +1 -1
  63. package/lib/esm/geometry3d/Matrix3d.js +5 -8
  64. package/lib/esm/geometry3d/Matrix3d.js.map +1 -1
  65. package/lib/esm/geometry3d/OrderedRotationAngles.d.ts +3 -3
  66. package/lib/esm/geometry3d/OrderedRotationAngles.d.ts.map +1 -1
  67. package/lib/esm/geometry3d/OrderedRotationAngles.js +3 -3
  68. package/lib/esm/geometry3d/OrderedRotationAngles.js.map +1 -1
  69. package/lib/esm/geometry3d/Point2dArrayCarrier.d.ts +8 -10
  70. package/lib/esm/geometry3d/Point2dArrayCarrier.d.ts.map +1 -1
  71. package/lib/esm/geometry3d/Point2dArrayCarrier.js +8 -10
  72. package/lib/esm/geometry3d/Point2dArrayCarrier.js.map +1 -1
  73. package/lib/esm/geometry3d/Point2dVector2d.d.ts +37 -34
  74. package/lib/esm/geometry3d/Point2dVector2d.d.ts.map +1 -1
  75. package/lib/esm/geometry3d/Point2dVector2d.js +38 -35
  76. package/lib/esm/geometry3d/Point2dVector2d.js.map +1 -1
  77. package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts +17 -21
  78. package/lib/esm/geometry3d/Point3dArrayCarrier.d.ts.map +1 -1
  79. package/lib/esm/geometry3d/Point3dArrayCarrier.js +16 -20
  80. package/lib/esm/geometry3d/Point3dArrayCarrier.js.map +1 -1
  81. package/lib/esm/geometry3d/Point3dVector3d.d.ts +84 -67
  82. package/lib/esm/geometry3d/Point3dVector3d.d.ts.map +1 -1
  83. package/lib/esm/geometry3d/Point3dVector3d.js +84 -67
  84. package/lib/esm/geometry3d/Point3dVector3d.js.map +1 -1
  85. package/lib/esm/geometry3d/Transform.d.ts +76 -66
  86. package/lib/esm/geometry3d/Transform.d.ts.map +1 -1
  87. package/lib/esm/geometry3d/Transform.js +88 -77
  88. package/lib/esm/geometry3d/Transform.js.map +1 -1
  89. package/lib/esm/geometry3d/YawPitchRollAngles.d.ts +15 -16
  90. package/lib/esm/geometry3d/YawPitchRollAngles.d.ts.map +1 -1
  91. package/lib/esm/geometry3d/YawPitchRollAngles.js +14 -15
  92. package/lib/esm/geometry3d/YawPitchRollAngles.js.map +1 -1
  93. package/lib/esm/serialization/GeometrySamples.d.ts +72 -58
  94. package/lib/esm/serialization/GeometrySamples.d.ts.map +1 -1
  95. package/lib/esm/serialization/GeometrySamples.js +132 -108
  96. package/lib/esm/serialization/GeometrySamples.js.map +1 -1
  97. package/package.json +3 -3
@@ -20,7 +20,7 @@ export class Point3dArrayCarrier extends IndexedReadWriteXYZCollection {
20
20
  super();
21
21
  this.data = data;
22
22
  }
23
- /** test if `index` is a valid index into the array. */
23
+ /** Test if `index` is a valid index into the array. */
24
24
  isValidIndex(index) {
25
25
  return index >= 0 && index < this.data.length;
26
26
  }
@@ -62,23 +62,23 @@ export class Point3dArrayCarrier extends IndexedReadWriteXYZCollection {
62
62
  return undefined;
63
63
  }
64
64
  /**
65
- * access x of indexed point
65
+ * Access x of indexed point
66
66
  * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results
67
- * */
67
+ */
68
68
  getXAtUncheckedPointIndex(pointIndex) {
69
69
  return this.data[pointIndex].x;
70
70
  }
71
71
  /**
72
- * access y of indexed point
72
+ * Access y of indexed point
73
73
  * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results
74
- * */
74
+ */
75
75
  getYAtUncheckedPointIndex(pointIndex) {
76
76
  return this.data[pointIndex].y;
77
77
  }
78
78
  /**
79
- * access z of indexed point
79
+ * Access z of indexed point
80
80
  * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results
81
- * */
81
+ */
82
82
  getZAtUncheckedPointIndex(pointIndex) {
83
83
  return this.data[pointIndex].z;
84
84
  }
@@ -145,10 +145,7 @@ export class Point3dArrayCarrier extends IndexedReadWriteXYZCollection {
145
145
  if (this.isValidIndex(originIndex) && this.isValidIndex(indexA) && this.isValidIndex(indexB))
146
146
  result.addCrossProductToTargetsInPlace(data[originIndex].x, data[originIndex].y, data[originIndex].z, data[indexA].x, data[indexA].y, data[indexA].z, data[indexB].x, data[indexB].y, data[indexB].z);
147
147
  }
148
- /**
149
- * Accumulate scale times the x,y,z values at index to the sum.
150
- * No action if index is out of bounds.
151
- */
148
+ /** Accumulate scale times the x,y,z values at index to the sum. No action if index is out of bounds */
152
149
  accumulateScaledXYZ(index, scale, sum) {
153
150
  if (this.isValidIndex(index)) {
154
151
  const point = this.data[index];
@@ -157,20 +154,19 @@ export class Point3dArrayCarrier extends IndexedReadWriteXYZCollection {
157
154
  sum.z += scale * point.z;
158
155
  }
159
156
  }
160
- /**
161
- * read-only property for number of XYZ in the collection.
162
- */
157
+ /** Read-only property for number of XYZ in the collection */
163
158
  get length() {
164
159
  return this.data.length;
165
160
  }
166
- /** push a (clone of) point onto the collection
161
+ /**
162
+ * Push a (clone of) point onto the collection
167
163
  * * point itself is not pushed -- xyz data is extracted into the native form of the collection.
168
164
  */
169
165
  push(data) {
170
166
  this.data.push(data.clone());
171
167
  }
172
168
  /**
173
- * push a new point (given by coordinates) onto the collection
169
+ * Push a new point (given by coordinates) onto the collection
174
170
  * @param x x coordinate
175
171
  * @param y y coordinate
176
172
  * @param z z coordinate
@@ -178,26 +174,26 @@ export class Point3dArrayCarrier extends IndexedReadWriteXYZCollection {
178
174
  pushXYZ(x, y, z) {
179
175
  this.data.push(Point3d.create(x === undefined ? 0.0 : x, y === undefined ? 0.0 : y, z === undefined ? 0.0 : z));
180
176
  }
181
- /** extract (copy) the final point */
177
+ /** Extract (copy) the final point */
182
178
  back(result) {
183
179
  if (this.data.length > 0) {
184
180
  return this.data[this.data.length - 1].clone(result);
185
181
  }
186
182
  return undefined;
187
183
  }
188
- /** extract (copy) the first point */
184
+ /** Extract (copy) the first point */
189
185
  front(result) {
190
186
  if (this.data.length > 0) {
191
187
  return this.data[0].clone(result);
192
188
  }
193
189
  return undefined;
194
190
  }
195
- /** remove the final point. */
191
+ /** Remove the final point. */
196
192
  pop() {
197
193
  if (this.data.length > 0)
198
194
  this.data.pop();
199
195
  }
200
- /** remove all points. */
196
+ /** Remove all points. */
201
197
  clear() {
202
198
  this.data.length = 0;
203
199
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Point3dArrayCarrier.js","sourceRoot":"","sources":["../../../src/geometry3d/Point3dArrayCarrier.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGtD;;;;;;GAMG;AACH,MAAM,OAAO,mBAAoB,SAAQ,6BAA6B;IAGpE,wCAAwC;IACxC,YAAmB,IAAe;QAChC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IACD,uDAAuD;IAChD,YAAY,CAAC,KAAa;QAC/B,OAAO,KAAK,IAAI,CAAC,IAAI,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;IAChD,CAAC;IACD;;;;;;OAMG;IACI,6BAA6B,CAAC,KAAa,EAAE,MAAgB;QAClE,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE;YAC5B,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAChC,OAAO,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;SAC7D;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IACD;;;;;OAKG;IACI,+BAA+B,CAAC,KAAa,EAAE,MAAgB;QACpE,MAAM,M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GAAG,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,GAAG,CAAC,EAAE;YAC1D,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;SAC7D;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IACD;;;;OAIG;IACI,kBAAkB,CAAC,MAAc,EAAE,MAAc;QACtD,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,GAAG,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,GAAG,CAAC,EAAE;YAC1D,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;SACtD;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,yDAAyD;IACzC,WAAW,CAAC,CAAS;QACnC,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ArraysAndInterfaces\r\n */\r\n\r\nimport { IndexedReadWriteXYZCollection } from \"./IndexedXYZCollection\";\r\nimport { Point3d, Vector3d } from \"./Point3dVector3d\";\r\nimport { XYAndZ } from \"./XYZProps\";\r\n\r\n/**\r\n * Helper object to access members of a Point3d[] in geometric calculations.\r\n * * The collection holds only a reference to the actual array.\r\n * * The actual array may be replaced by the user as needed.\r\n * * When replaced, there is no cached data to be updated.\r\n * @public\r\n */\r\nexport class Point3dArrayCarrier extends IndexedReadWriteXYZCollection {\r\n /** reference to array being queried. */\r\n public data: Point3d[];\r\n /** CAPTURE caller supplied array ... */\r\n public constructor(data: Point3d[]) {\r\n super();\r\n this.data = data;\r\n }\r\n /** test if `index` is a valid index into the array. */\r\n public isValidIndex(index: number): boolean {\r\n return index >= 0 && index < this.data.length;\r\n }\r\n /**\r\n * Access by index, returning strongly typed Point3d\r\n * * This returns the xyz value but NOT reference to the point in the \"carried\" array.\r\n * @param index index of point within the array\r\n * @param result caller-allocated destination\r\n * @returns undefined if the index is out of bounds\r\n */\r\n public getPoint3dAtCheckedPointIndex(index: number, result?: Point3d): Point3d | undefined {\r\n if (this.isValidIndex(index)) {\r\n const source = this.data[index];\r\n return Point3d.create(source.x, source.y, source.z, result);\r\n }\r\n return undefined;\r\n }\r\n /**\r\n * Access by index, returning strongly typed Point3d\r\n * * This returns the xyz value but NOT reference to the point in the \"carried\" array.\r\n * @param index index of point within the array\r\n * @param result caller-allocated destination\r\n */\r\n public getPoint3dAtUncheckedPointIndex(index: number, result?: Point3d): Point3d {\r\n const source = this.data[index];\r\n return Point3d.create(source.x, source.y, source.z, result);\r\n }\r\n /**\r\n * Access by index, returning strongly typed Vector3d\r\n * @param index index of point within the array\r\n * @param result caller-allocated destination\r\n * @returns undefined if the index is out of bounds\r\n */\r\n public getVector3dAtCheckedVectorIndex(index: number, result?: Vector3d): Vector3d | undefined {\r\n if (this.isValidIndex(index)) {\r\n const source = this.data[index];\r\n return Vector3d.create(source.x, source.y, source.z, result);\r\n }\r\n return undefined;\r\n }\r\n /**\r\n * access x of indexed point\r\n * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results\r\n * */\r\n public getXAtUncheckedPointIndex(pointIndex: number): number {\r\n return this.data[pointIndex].x;\r\n }\r\n /**\r\n * access y of indexed point\r\n * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results\r\n * */\r\n public getYAtUncheckedPointIndex(pointIndex: number): number {\r\n return this.data[pointIndex].y;\r\n }\r\n /**\r\n * access z of indexed point\r\n * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results\r\n * */\r\n public getZAtUncheckedPointIndex(pointIndex: number): number {\r\n return this.data[pointIndex].z;\r\n }\r\n /**\r\n * Return a vector from the point at indexA to the point at indexB\r\n * @param indexA index of point within the array\r\n * @param indexB index of point within the array\r\n * @param result caller-allocated vector.\r\n * @returns undefined if either index is out of bounds\r\n */\r\n public vectorIndexIndex(indexA: number, indexB: number, result?: Vector3d): Vector3d | undefined {\r\n if (this.isValidIndex(indexA) && this.isValidIndex(indexB))\r\n return Vector3d.createStartEnd(this.data[indexA], this.data[indexB], result);\r\n return undefined;\r\n }\r\n /**\r\n * Return a vector from given origin to point at indexB\r\n * @param origin origin for vector\r\n * @param indexB index of point within the array\r\n * @param result caller-allocated vector.\r\n * @returns undefined if index is out of bounds\r\n */\r\n public vectorXYAndZIndex(origin: XYAndZ, indexB: number, result?: Vector3d): Vector3d | undefined {\r\n if (this.isValidIndex(indexB))\r\n return Vector3d.createStartEnd(origin, this.data[indexB], result);\r\n return undefined;\r\n }\r\n /**\r\n * Return the cross product of vectors from origin to points at indexA and indexB\r\n * @param origin origin for vector\r\n * @param indexA index of first target within the array\r\n * @param indexB index of second target within the array\r\n * @param result caller-allocated vector.\r\n * @returns undefined if either index is out of bounds\r\n */\r\n public crossProductXYAndZIndexIndex(origin: XYAndZ, indexA: number, indexB: number, result?: Vector3d): Vector3d | undefined {\r\n if (this.isValidIndex(indexA) && this.isValidIndex(indexB))\r\n return Vector3d.createCrossProductToPoints(origin, this.data[indexA], this.data[indexB], result);\r\n return undefined;\r\n }\r\n /**\r\n * Return the cross product of vectors from point at originIndex to points at indexA and indexB\r\n * @param originIndex index of origin\r\n * @param indexA index of first target within the array\r\n * @param indexB index of second target within the array\r\n * @param result caller-allocated vector.\r\n * @returns return true if indexA, indexB both valid\r\n */\r\n public crossProductIndexIndexIndex(originIndex: number, indexA: number, indexB: number, result?: Vector3d): Vector3d | undefined {\r\n if (this.isValidIndex(originIndex) && this.isValidIndex(indexA) && this.isValidIndex(indexB))\r\n return Vector3d.createCrossProductToPoints(this.data[originIndex], this.data[indexA], this.data[indexB], result);\r\n return undefined;\r\n }\r\n /**\r\n * Compute the cross product of vectors from point at originIndex to points at indexA and indexB, and accumulate it to the result.\r\n * @param origin index of origin\r\n * @param indexA index of first target within the array\r\n * @param indexB index of second target within the array\r\n * @param result caller-allocated vector.\r\n * @returns return true if indexA, indexB both valid\r\n */\r\n public accumulateCrossProductIndexIndexIndex(originIndex: number, indexA: number, indexB: number, result: Vector3d): void {\r\n const data = this.data;\r\n if (this.isValidIndex(originIndex) && this.isValidIndex(indexA) && this.isValidIndex(indexB))\r\n result.addCrossProductToTargetsInPlace(\r\n data[originIndex].x, data[originIndex].y, data[originIndex].z,\r\n data[indexA].x, data[indexA].y, data[indexA].z,\r\n data[indexB].x, data[indexB].y, data[indexB].z\r\n );\r\n }\r\n /**\r\n * Accumulate scale times the x,y,z values at index to the sum.\r\n * No action if index is out of bounds.\r\n */\r\n public accumulateScaledXYZ(index: number, scale: number, sum: Point3d): void {\r\n if (this.isValidIndex(index)) {\r\n const point = this.data[index];\r\n sum.x += scale * point.x;\r\n sum.y += scale * point.y;\r\n sum.z += scale * point.z;\r\n }\r\n }\r\n /**\r\n * read-only property for number of XYZ in the collection.\r\n */\r\n public get length(): number {\r\n return this.data.length;\r\n }\r\n /** push a (clone of) point onto the collection\r\n * * point itself is not pushed -- xyz data is extracted into the native form of the collection.\r\n */\r\n public push(data: Point3d): void {\r\n this.data.push(data.clone());\r\n }\r\n /**\r\n * push a new point (given by coordinates) onto the collection\r\n * @param x x coordinate\r\n * @param y y coordinate\r\n * @param z z coordinate\r\n */\r\n public pushXYZ(x?: number, y?: number, z?: number): void {\r\n this.data.push(\r\n Point3d.create(x === undefined ? 0.0 : x, y === undefined ? 0.0 : y, z === undefined ? 0.0 : z)\r\n );\r\n }\r\n /** extract (copy) the final point */\r\n public back(result?: Point3d): Point3d | undefined {\r\n if (this.data.length > 0) {\r\n return this.data[this.data.length - 1].clone(result);\r\n }\r\n return undefined;\r\n }\r\n /** extract (copy) the first point */\r\n public front(result?: Point3d): Point3d | undefined {\r\n if (this.data.length > 0) {\r\n return this.data[0].clone(result);\r\n }\r\n return undefined;\r\n }\r\n /** remove the final point. */\r\n public pop(): void {\r\n if (this.data.length > 0)\r\n this.data.pop();\r\n }\r\n /** remove all points. */\r\n public clear(): void {\r\n this.data.length = 0;\r\n }\r\n /** Reverse the points in place */\r\n public reverseInPlace(): void {\r\n this.data.reverse();\r\n }\r\n /**\r\n * Return distance squared between indicated points.\r\n * @param index0 first point index\r\n * @param index1 second point index\r\n */\r\n public distanceSquaredIndexIndex(index0: number, index1: number): number | undefined {\r\n const n = this.data.length;\r\n if (index0 >= 0 && index0 < n && index1 >= 0 && index1 < n) {\r\n return this.data[index0].distanceSquared(this.data[index1]);\r\n }\r\n return undefined;\r\n }\r\n /**\r\n * Return distance between indicated points.\r\n * @param index0 first point index\r\n * @param index1 second point index\r\n */\r\n public distanceIndexIndex(index0: number, index1: number): number | undefined {\r\n const n = this.data.length;\r\n if (index0 >= 0 && index0 < n && index1 >= 0 && index1 < n) {\r\n return this.data[index0].distance(this.data[index1]);\r\n }\r\n return undefined;\r\n }\r\n /** Adjust index into range by modulo with the length. */\r\n public override cyclicIndex(i: number): number {\r\n return (i % this.data.length);\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"Point3dArrayCarrier.js","sourceRoot":"","sources":["../../../src/geometry3d/Point3dArrayCarrier.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAC/F;;GAEG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAGtD;;;;;;GAMG;AACH,MAAM,OAAO,mBAAoB,SAAQ,6BAA6B;IAGpE,wCAAwC;IACxC,YAAmB,IAAe;QAChC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;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GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module ArraysAndInterfaces\r\n */\r\n\r\nimport { IndexedReadWriteXYZCollection } from \"./IndexedXYZCollection\";\r\nimport { Point3d, Vector3d } from \"./Point3dVector3d\";\r\nimport { XYAndZ } from \"./XYZProps\";\r\n\r\n/**\r\n * Helper object to access members of a Point3d[] in geometric calculations.\r\n * * The collection holds only a reference to the actual array.\r\n * * The actual array may be replaced by the user as needed.\r\n * * When replaced, there is no cached data to be updated.\r\n * @public\r\n */\r\nexport class Point3dArrayCarrier extends IndexedReadWriteXYZCollection {\r\n /** Reference to array being queried. */\r\n public data: Point3d[];\r\n /** CAPTURE caller supplied array ... */\r\n public constructor(data: Point3d[]) {\r\n super();\r\n this.data = data;\r\n }\r\n /** Test if `index` is a valid index into the array. */\r\n public isValidIndex(index: number): boolean {\r\n return index >= 0 && index < this.data.length;\r\n }\r\n /**\r\n * Access by index, returning strongly typed Point3d\r\n * * This returns the xyz value but NOT reference to the point in the \"carried\" array.\r\n * @param index index of point within the array\r\n * @param result caller-allocated destination\r\n * @returns undefined if the index is out of bounds\r\n */\r\n public getPoint3dAtCheckedPointIndex(index: number, result?: Point3d): Point3d | undefined {\r\n if (this.isValidIndex(index)) {\r\n const source = this.data[index];\r\n return Point3d.create(source.x, source.y, source.z, result);\r\n }\r\n return undefined;\r\n }\r\n /**\r\n * Access by index, returning strongly typed Point3d\r\n * * This returns the xyz value but NOT reference to the point in the \"carried\" array.\r\n * @param index index of point within the array\r\n * @param result caller-allocated destination\r\n */\r\n public getPoint3dAtUncheckedPointIndex(index: number, result?: Point3d): Point3d {\r\n const source = this.data[index];\r\n return Point3d.create(source.x, source.y, source.z, result);\r\n }\r\n /**\r\n * Access by index, returning strongly typed Vector3d\r\n * @param index index of point within the array\r\n * @param result caller-allocated destination\r\n * @returns undefined if the index is out of bounds\r\n */\r\n public getVector3dAtCheckedVectorIndex(index: number, result?: Vector3d): Vector3d | undefined {\r\n if (this.isValidIndex(index)) {\r\n const source = this.data[index];\r\n return Vector3d.create(source.x, source.y, source.z, result);\r\n }\r\n return undefined;\r\n }\r\n /**\r\n * Access x of indexed point\r\n * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results\r\n */\r\n public getXAtUncheckedPointIndex(pointIndex: number): number {\r\n return this.data[pointIndex].x;\r\n }\r\n /**\r\n * Access y of indexed point\r\n * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results\r\n */\r\n public getYAtUncheckedPointIndex(pointIndex: number): number {\r\n return this.data[pointIndex].y;\r\n }\r\n /**\r\n * Access z of indexed point\r\n * * WARNING: make sure `pointIndex` is a valid index, otherwise, you get random results\r\n */\r\n public getZAtUncheckedPointIndex(pointIndex: number): number {\r\n return this.data[pointIndex].z;\r\n }\r\n /**\r\n * Return a vector from the point at indexA to the point at indexB\r\n * @param indexA index of point within the array\r\n * @param indexB index of point within the array\r\n * @param result caller-allocated vector.\r\n * @returns undefined if either index is out of bounds\r\n */\r\n public vectorIndexIndex(indexA: number, indexB: number, result?: Vector3d): Vector3d | undefined {\r\n if (this.isValidIndex(indexA) && this.isValidIndex(indexB))\r\n return Vector3d.createStartEnd(this.data[indexA], this.data[indexB], result);\r\n return undefined;\r\n }\r\n /**\r\n * Return a vector from given origin to point at indexB\r\n * @param origin origin for vector\r\n * @param indexB index of point within the array\r\n * @param result caller-allocated vector.\r\n * @returns undefined if index is out of bounds\r\n */\r\n public vectorXYAndZIndex(origin: XYAndZ, indexB: number, result?: Vector3d): Vector3d | undefined {\r\n if (this.isValidIndex(indexB))\r\n return Vector3d.createStartEnd(origin, this.data[indexB], result);\r\n return undefined;\r\n }\r\n /**\r\n * Return the cross product of vectors from origin to points at indexA and indexB\r\n * @param origin origin for vector\r\n * @param indexA index of first target within the array\r\n * @param indexB index of second target within the array\r\n * @param result caller-allocated vector.\r\n * @returns undefined if either index is out of bounds\r\n */\r\n public crossProductXYAndZIndexIndex(\r\n origin: XYAndZ, indexA: number, indexB: number, result?: Vector3d\r\n ): Vector3d | undefined {\r\n if (this.isValidIndex(indexA) && this.isValidIndex(indexB))\r\n return Vector3d.createCrossProductToPoints(origin, this.data[indexA], this.data[indexB], result);\r\n return undefined;\r\n }\r\n /**\r\n * Return the cross product of vectors from point at originIndex to points at indexA and indexB\r\n * @param originIndex index of origin\r\n * @param indexA index of first target within the array\r\n * @param indexB index of second target within the array\r\n * @param result caller-allocated vector.\r\n * @returns return true if indexA, indexB both valid\r\n */\r\n public crossProductIndexIndexIndex(\r\n originIndex: number, indexA: number, indexB: number, result?: Vector3d\r\n ): Vector3d | undefined {\r\n if (this.isValidIndex(originIndex) && this.isValidIndex(indexA) && this.isValidIndex(indexB))\r\n return Vector3d.createCrossProductToPoints(this.data[originIndex], this.data[indexA], this.data[indexB], result);\r\n return undefined;\r\n }\r\n /**\r\n * Compute the cross product of vectors from point at originIndex to points at indexA and indexB, and accumulate it to the result.\r\n * @param origin index of origin\r\n * @param indexA index of first target within the array\r\n * @param indexB index of second target within the array\r\n * @param result caller-allocated vector.\r\n * @returns return true if indexA, indexB both valid\r\n */\r\n public accumulateCrossProductIndexIndexIndex(originIndex: number, indexA: number, indexB: number, result: Vector3d): void {\r\n const data = this.data;\r\n if (this.isValidIndex(originIndex) && this.isValidIndex(indexA) && this.isValidIndex(indexB))\r\n result.addCrossProductToTargetsInPlace(\r\n data[originIndex].x, data[originIndex].y, data[originIndex].z,\r\n data[indexA].x, data[indexA].y, data[indexA].z,\r\n data[indexB].x, data[indexB].y, data[indexB].z\r\n );\r\n }\r\n /** Accumulate scale times the x,y,z values at index to the sum. No action if index is out of bounds */\r\n public accumulateScaledXYZ(index: number, scale: number, sum: Point3d): void {\r\n if (this.isValidIndex(index)) {\r\n const point = this.data[index];\r\n sum.x += scale * point.x;\r\n sum.y += scale * point.y;\r\n sum.z += scale * point.z;\r\n }\r\n }\r\n /** Read-only property for number of XYZ in the collection */\r\n public get length(): number {\r\n return this.data.length;\r\n }\r\n /**\r\n * Push a (clone of) point onto the collection\r\n * * point itself is not pushed -- xyz data is extracted into the native form of the collection.\r\n */\r\n public push(data: Point3d): void {\r\n this.data.push(data.clone());\r\n }\r\n /**\r\n * Push a new point (given by coordinates) onto the collection\r\n * @param x x coordinate\r\n * @param y y coordinate\r\n * @param z z coordinate\r\n */\r\n public pushXYZ(x?: number, y?: number, z?: number): void {\r\n this.data.push(\r\n Point3d.create(x === undefined ? 0.0 : x, y === undefined ? 0.0 : y, z === undefined ? 0.0 : z)\r\n );\r\n }\r\n /** Extract (copy) the final point */\r\n public back(result?: Point3d): Point3d | undefined {\r\n if (this.data.length > 0) {\r\n return this.data[this.data.length - 1].clone(result);\r\n }\r\n return undefined;\r\n }\r\n /** Extract (copy) the first point */\r\n public front(result?: Point3d): Point3d | undefined {\r\n if (this.data.length > 0) {\r\n return this.data[0].clone(result);\r\n }\r\n return undefined;\r\n }\r\n /** Remove the final point. */\r\n public pop(): void {\r\n if (this.data.length > 0)\r\n this.data.pop();\r\n }\r\n /** Remove all points. */\r\n public clear(): void {\r\n this.data.length = 0;\r\n }\r\n /** Reverse the points in place */\r\n public reverseInPlace(): void {\r\n this.data.reverse();\r\n }\r\n /**\r\n * Return distance squared between indicated points.\r\n * @param index0 first point index\r\n * @param index1 second point index\r\n */\r\n public distanceSquaredIndexIndex(index0: number, index1: number): number | undefined {\r\n const n = this.data.length;\r\n if (index0 >= 0 && index0 < n && index1 >= 0 && index1 < n) {\r\n return this.data[index0].distanceSquared(this.data[index1]);\r\n }\r\n return undefined;\r\n }\r\n /**\r\n * Return distance between indicated points.\r\n * @param index0 first point index\r\n * @param index1 second point index\r\n */\r\n public distanceIndexIndex(index0: number, index1: number): number | undefined {\r\n const n = this.data.length;\r\n if (index0 >= 0 && index0 < n && index1 >= 0 && index1 < n) {\r\n return this.data[index0].distance(this.data[index1]);\r\n }\r\n return undefined;\r\n }\r\n /** Adjust index into range by modulo with the length. */\r\n public override cyclicIndex(i: number): number {\r\n return (i % this.data.length);\r\n }\r\n}\r\n"]}
@@ -6,7 +6,8 @@ import { Point4d } from "../geometry4d/Point4d";
6
6
  import { Angle } from "./Angle";
7
7
  import { HasZ, XAndY, XYAndZ, XYZProps } from "./XYZProps";
8
8
  /**
9
- * * `XYZ` is a minimal object containing x,y,z and operations that are meaningful without change in both point and vector.
9
+ * * `XYZ` is a minimal object containing x,y,z and operations that are meaningful without change in both
10
+ * point and vector.
10
11
  * * `XYZ` is not instantiable.
11
12
  * * The derived (instantiable) classes are
12
13
  * * `Point3d`
@@ -38,24 +39,28 @@ export declare class XYZ implements XYAndZ {
38
39
  static hasZ(arg: any): arg is HasZ;
39
40
  /** Type guard for XYAndZ. */
40
41
  static isXYAndZ(arg: any): arg is XYAndZ;
41
- /** Test if arg is any of:
42
+ /**
43
+ * Test if arg is any of:
42
44
  * * XAndY
43
45
  * * XYAndZ
44
46
  * * [number,number]
45
47
  * * [number,number,number]
46
48
  */
47
49
  static isAnyImmediatePointType(arg: any): boolean;
48
- /** Look for (in order) an x coordinate present as:
50
+ /**
51
+ * Look for (in order) an x coordinate present as:
49
52
  * * arg.x
50
53
  * * arg[0]
51
54
  */
52
55
  static accessX(arg: any, defaultValue?: number): number | undefined;
53
- /** Look for (in order) an x coordinate present as:
56
+ /**
57
+ * Look for (in order) an x coordinate present as:
54
58
  * * arg.y
55
59
  * * arg[1]
56
60
  */
57
61
  static accessY(arg: any, defaultValue?: number): number | undefined;
58
- /** Look for (in order) an x coordinate present as:
62
+ /**
63
+ * Look for (in order) an x coordinate present as:
59
64
  * * arg.z
60
65
  * * arg[2]
61
66
  */
@@ -80,7 +85,8 @@ export declare class XYZ implements XYAndZ {
80
85
  * * Set to zeros if `other` is undefined.
81
86
  */
82
87
  setFromVector3d(other?: Vector3d): void;
83
- /** Returns true if this and other have equal x,y,z parts within Geometry.smallMetricDistance.
88
+ /**
89
+ * Returns true if this and other have equal x,y,z parts within Geometry.smallMetricDistance.
84
90
  * @param other The other XYAndZ to compare
85
91
  * @param tol The tolerance for the comparison. If undefined, use [[Geometry.smallMetricDistance]]
86
92
  */
@@ -114,13 +120,9 @@ export declare class XYZ implements XYAndZ {
114
120
  distanceSquaredXY(other: XAndY): number;
115
121
  /** Return the largest absolute distance between corresponding components */
116
122
  maxDiff(other: XYAndZ): number;
117
- /**
118
- * Return the x,y, z component corresponding to 0,1,2.
119
- */
123
+ /** Return the x,y, z component corresponding to 0,1,2 */
120
124
  at(index: number): number;
121
- /**
122
- * Set value at index 0 or 1 or 2.
123
- */
125
+ /** Set value at index 0 or 1 or 2 */
124
126
  setAt(index: number, value: number): void;
125
127
  /** Return the index (0,1,2) of the x,y,z component with largest absolute value */
126
128
  indexOfMaxAbs(): number;
@@ -138,19 +140,19 @@ export declare class XYZ implements XYAndZ {
138
140
  magnitudeXY(): number;
139
141
  /** Return the sum of squared x,y parts */
140
142
  magnitudeSquaredXY(): number;
141
- /** exact equality test. */
143
+ /** Exact equality test. */
142
144
  isExactEqual(other: XYAndZ): boolean;
143
- /** equality test with Geometry.smallMetricDistance tolerance */
145
+ /** Equality test with Geometry.smallMetricDistance tolerance */
144
146
  isAlmostEqualMetric(other: XYAndZ): boolean;
145
- /** add x,y,z from other in place. */
147
+ /** Add x,y,z from other in place. */
146
148
  addInPlace(other: XYAndZ): void;
147
- /** add x,y,z from other in place. */
149
+ /** Add x,y,z from other in place. */
148
150
  subtractInPlace(other: XYAndZ): void;
149
- /** add (in place) the scaled x,y,z of other */
151
+ /** Add (in place) the scaled x,y,z of other */
150
152
  addScaledInPlace(other: XYAndZ, scale: number): void;
151
153
  /** Multiply the x, y, z parts by scale. */
152
154
  scaleInPlace(scale: number): void;
153
- /** add to x, y, z parts */
155
+ /** Add to x, y, z parts */
154
156
  addXYZInPlace(dx?: number, dy?: number, dz?: number): void;
155
157
  /** Clone strongly typed as Point3d */
156
158
  cloneAsPoint3d(): Point3d;
@@ -158,18 +160,19 @@ export declare class XYZ implements XYAndZ {
158
160
  vectorTo(other: XYAndZ, result?: Vector3d): Vector3d;
159
161
  /** Return a multiple of a the (full length) vector from this point to other */
160
162
  scaledVectorTo(other: XYAndZ, scale: number, result?: Vector3d): Vector3d;
161
- /** Return a unit vector from this vector to other. Return a 000 vector if the input is too small to normalize.
163
+ /**
164
+ * Return a unit vector from this vector to other. Return a 000 vector if the input is too small to normalize.
162
165
  * @param other target of created vector.
163
166
  * @param result optional result vector.
164
167
  */
165
168
  unitVectorTo(target: XYAndZ, result?: Vector3d): Vector3d | undefined;
166
169
  /** Freeze this XYZ */
167
170
  freeze(): Readonly<this>;
168
- /** access x part of XYZProps (which may be .x or [0]) */
171
+ /** Access x part of XYZProps (which may be .x or [0]) */
169
172
  static x(xyz: XYZProps | undefined, defaultValue?: number): number;
170
- /** access x part of XYZProps (which may be .x or [0]) */
173
+ /** Access x part of XYZProps (which may be .x or [0]) */
171
174
  static y(xyz: XYZProps | undefined, defaultValue?: number): number;
172
- /** access x part of XYZProps (which may be .x or [0]) */
175
+ /** Access x part of XYZProps (which may be .x or [0]) */
173
176
  static z(xyz: XYZProps | undefined, defaultValue?: number): number;
174
177
  }
175
178
  /** 3D point with `x`,`y`,`z` as properties
@@ -188,7 +191,8 @@ export declare class Point3d extends XYZ {
188
191
  static fromJSON(json?: XYZProps): Point3d;
189
192
  /** Return a new Point3d with the same coordinates */
190
193
  clone(result?: Point3d): Point3d;
191
- /** Create a new Point3d with given coordinates
194
+ /**
195
+ * Create a new Point3d with given coordinates
192
196
  * @param x x part
193
197
  * @param y y part
194
198
  * @param z z part
@@ -217,24 +221,23 @@ export declare class Point3d extends XYZ {
217
221
  static createArrayFromPackedXYZ(data: Float64Array): Point3d[];
218
222
  /** Create a new point with 000 xyz */
219
223
  static createZero(result?: Point3d): Point3d;
220
- /** Return the cross product of the vectors from this to pointA and pointB
221
- *
224
+ /**
225
+ * Return the cross product of the vectors from this to pointA and pointB
222
226
  * * the result is a vector
223
227
  * * the result is perpendicular to both vectors, with right hand orientation
224
228
  * * the magnitude of the vector is twice the area of the triangle.
225
229
  */
226
230
  crossProductToPoints(pointA: Point3d, pointB: Point3d, result?: Vector3d): Vector3d;
227
- /** Return the magnitude of the cross product of the vectors from this to pointA and pointB
228
- */
231
+ /** Return the magnitude of the cross product of the vectors from this to pointA and pointB */
229
232
  crossProductToPointsMagnitude(pointA: Point3d, pointB: Point3d): number;
230
- /** Return the triple product of the vectors from this to pointA, pointB, pointC
231
- *
233
+ /**
234
+ * Return the triple product of the vectors from this to pointA, pointB, pointC
232
235
  * * This is a scalar (number)
233
236
  * * This is 6 times the (signed) volume of the tetrahedron on the 4 points.
234
237
  */
235
238
  tripleProductToPoints(pointA: Point3d, pointB: Point3d, pointC: Point3d): number;
236
- /** Return the cross product of the vectors from this to pointA and pointB
237
- *
239
+ /**
240
+ * Return the cross product of the vectors from this to pointA and pointB
238
241
  * * the result is a scalar
239
242
  * * the magnitude of the vector is twice the signed area of the triangle.
240
243
  * * this is positive for counter-clockwise order of the points, negative for clockwise.
@@ -242,8 +245,8 @@ export declare class Point3d extends XYZ {
242
245
  crossProductToPointsXY(pointA: Point3d, pointB: Point3d): number;
243
246
  /**
244
247
  * Return a point interpolated between `this` point and the `other` point.
245
- * * fraction specifies where the interpolated point is located on the line passing `this` and `other`.
246
- * */
248
+ * * Fraction specifies where the interpolated point is located on the line passing `this` and `other`.
249
+ */
247
250
  interpolate(fraction: number, other: XYAndZ, result?: Point3d): Point3d;
248
251
  /** Return a point with independent x,y,z fractional interpolation. */
249
252
  interpolateXYZ(fractionX: number, fractionY: number, fractionZ: number, other: Point3d, result?: Point3d): Point3d;
@@ -268,7 +271,8 @@ export declare class Point3d extends XYZ {
268
271
  * @param result optional point to receive coordinates
269
272
  */
270
273
  static createScale(source: XYAndZ, scale: number, result?: Point3d): Point3d;
271
- /** create a point that is a linear combination (weighted sum) of 2 input points.
274
+ /**
275
+ * Create a point that is a linear combination (weighted sum) of 2 input points.
272
276
  * @param pointA first input point
273
277
  * @param scaleA scale factor for pointA
274
278
  * @param pointB second input point
@@ -293,7 +297,8 @@ export declare class Point3d extends XYZ {
293
297
  /** Return the fractional projection of this onto a line between points. */
294
298
  fractionOfProjectionToLine(startPoint: Point3d, endPoint: Point3d, defaultFraction?: number): number;
295
299
  }
296
- /** 3D vector with `x`,`y`,`z` as properties
300
+ /**
301
+ * 3D vector with `x`,`y`,`z` as properties
297
302
  * @public
298
303
  */
299
304
  export declare class Vector3d extends XYZ {
@@ -309,7 +314,7 @@ export declare class Vector3d extends XYZ {
309
314
  */
310
315
  clone(result?: Vector3d): Vector3d;
311
316
  /**
312
- * return a Vector3d (new or reused from optional result)
317
+ * Return a Vector3d (new or reused from optional result)
313
318
  * @param x x component
314
319
  * @param y y component
315
320
  * @param z z component
@@ -342,7 +347,6 @@ export declare class Vector3d extends XYZ {
342
347
  addCrossProductToTargetsInPlace(ax: number, ay: number, az: number, bx: number, by: number, bz: number, cx: number, cy: number, cz: number): void;
343
348
  /**
344
349
  * Return the cross product of the vectors from origin to pointA and pointB.
345
- *
346
350
  * * the result is a vector
347
351
  * * the result is perpendicular to both vectors, with right hand orientation
348
352
  * * the magnitude of the vector is twice the area of the triangle.
@@ -435,7 +439,8 @@ export declare class Vector3d extends XYZ {
435
439
  * @returns true if normalization completed.
436
440
  */
437
441
  normalizeInPlace(): boolean;
438
- /** Create a normalized vector from the inputs.
442
+ /**
443
+ * Create a normalized vector from the inputs.
439
444
  * @param result optional result
440
445
  * @returns undefined if and only if normalization fails
441
446
  */
@@ -451,7 +456,8 @@ export declare class Vector3d extends XYZ {
451
456
  * @param defaultFraction the returned value in case magnitude square of target vector is very small
452
457
  * */
453
458
  fractionOfProjectionToVector(target: Vector3d, defaultFraction?: number): number;
454
- /** Return a new vector with components negated from the calling instance.
459
+ /**
460
+ * Return a new vector with components negated from the calling instance.
455
461
  * @param result optional result vector.
456
462
  */
457
463
  negate(result?: Vector3d): Vector3d;
@@ -481,7 +487,8 @@ export declare class Vector3d extends XYZ {
481
487
  * the the target cannot be normalized (i.e. if the target and this are colinear)
482
488
  */
483
489
  rotate90Towards(target: Vector3d, result?: Vector3d): Vector3d | undefined;
484
- /** Rotate this vector 90 degrees around an axis vector.
490
+ /**
491
+ * Rotate this vector 90 degrees around an axis vector.
485
492
  * * Note that simple cross is in the plane perpendicular to axis -- it loses the part
486
493
  * of "this" that is along the axis. The unit and scale is supposed to fix that.
487
494
  * This matches with Rodrigues' rotation formula because cos(theta) = 0 and sin(theta) = 1
@@ -517,8 +524,10 @@ export declare class Vector3d extends XYZ {
517
524
  plus3Scaled(vectorA: XYAndZ, scalarA: number, vectorB: XYAndZ, scalarB: number, vectorC: XYAndZ, scalarC: number, result?: Vector3d): Vector3d;
518
525
  /** Return the (strongly typed Vector3d) `thisVector3d + vectorA * scalarA + vectorB * scalarB` */
519
526
  static createAdd2Scaled(vectorA: XYAndZ, scaleA: number, vectorB: XYAndZ, scaleB: number, result?: Vector3d): Vector3d;
520
- /** Return the (strongly typed Vector3d) `thisVector3d + vectorA * scalarA + vectorB * scalarB`
521
- * with all components presented as numbers */
527
+ /**
528
+ * Return the (strongly typed Vector3d) `thisVector3d + vectorA * scalarA + vectorB * scalarB`
529
+ * with all components presented as numbers
530
+ */
522
531
  static createAdd2ScaledXYZ(ax: number, ay: number, az: number, scaleA: number, bx: number, by: number, bz: number, scaleB: number, result?: Vector3d): Vector3d;
523
532
  /** Return the (strongly typed Vector3d) `thisVector3d + vectorA * scaleA + vectorB * scaleB + vectorC * scaleC` */
524
533
  static createAdd3Scaled(vectorA: XYAndZ, scaleA: number, vectorB: XYAndZ, scaleB: number, vectorC: XYAndZ, scaleC: number, result?: Vector3d): Vector3d;
@@ -530,7 +539,8 @@ export declare class Vector3d extends XYZ {
530
539
  * @param result optional preallocated result
531
540
  */
532
541
  scaleToLength(length: number, result?: Vector3d): Vector3d | undefined;
533
- /** Compute the cross product of this vector with `vectorB`. Immediately pass it to `normalize`.
542
+ /**
543
+ * Compute the cross product of this vector with `vectorB`. Immediately pass it to `normalize`.
534
544
  * @param vectorB second vector for cross product.
535
545
  * @returns see `Vector3d` method `normalize()` for error condition.
536
546
  */
@@ -581,7 +591,8 @@ export declare class Vector3d extends XYZ {
581
591
  * @returns the magnitude of the cross product of this instance with vectorB.
582
592
  */
583
593
  crossProductMagnitude(vectorB: XYAndZ): number;
584
- /** Return the dot product of this vector with vectorB.
594
+ /**
595
+ * Return the dot product of this vector with vectorB.
585
596
  * @param vectorB second vector of cross product
586
597
  * @returns the dot product of this instance with vectorB
587
598
  */
@@ -613,7 +624,8 @@ export declare class Vector3d extends XYZ {
613
624
  dotProductStartEndXYZ(pointA: Point3d, x: number, y: number, z: number): number;
614
625
  /** Dot product with vector from pointA to pointB, using only xy parts */
615
626
  dotProductStartEndXY(pointA: Point3d, pointB: Point3d): number;
616
- /** Dot product with vector from pointA to pointB, with pointB given as (weighted) wx,wy,wz,w
627
+ /**
628
+ * Dot product with vector from pointA to pointB, with pointB given as (weighted) wx,wy,wz,w
617
629
  * * We need to unweight pointB (which is a homogeneous point) to be able to participate in the
618
630
  * vector dot product
619
631
  * * if the weight is near zero metric, the return is zero.
@@ -640,7 +652,7 @@ export declare class Vector3d extends XYZ {
640
652
  */
641
653
  crossProduct(vectorB: Vector3d, result?: Vector3d): Vector3d;
642
654
  /**
643
- * return cross product of `this` with the vector `(x, y, z)`
655
+ * Return cross product of `this` with the vector `(x, y, z)`
644
656
  * @param x x component of second vector
645
657
  * @param y y component of second vector
646
658
  * @param z z component of second vector
@@ -648,12 +660,12 @@ export declare class Vector3d extends XYZ {
648
660
  */
649
661
  crossProductXYZ(x: number, y: number, z: number, result?: Vector3d): Vector3d;
650
662
  /**
651
- * Return the angle in radians (not as strongly typed Angle) from this vector to vectorB.
652
- * * The returned angle is between 0 and `Math.PI`.
653
- * * The returned angle is measured in the plane containing the two vectors.
654
- * * Use `planarRadiansTo` and `signedRadiansTo` to return an angle measured in a specific plane.
655
- * @param vectorB target vector.
656
- */
663
+ * Return the angle in radians (not as strongly typed Angle) from this vector to vectorB.
664
+ * * The returned angle is between 0 and `Math.PI`.
665
+ * * The returned angle is measured in the plane containing the two vectors.
666
+ * * Use `planarRadiansTo` and `signedRadiansTo` to return an angle measured in a specific plane.
667
+ * @param vectorB target vector.
668
+ */
657
669
  radiansTo(vectorB: Vector3d): number;
658
670
  /**
659
671
  * Return the (strongly-typed) angle from this vector to vectorB.
@@ -679,18 +691,19 @@ export declare class Vector3d extends XYZ {
679
691
  */
680
692
  angleToXY(vectorB: Vector3d): Angle;
681
693
  /**
682
- * Return the angle in radians (not as strongly-typed Angle) from this vector to vectorB, measured
683
- * in their containing plane whose normal lies in the same half-space as vectorW.
684
- * * The returned angle is between `-Math.PI` and `Math.PI`.
685
- * * If the cross product of this vector and vectorB lies on the same side of the plane as vectorW,
686
- * this function returns `radiansTo(vectorB)`; otherwise, it returns `-radiansTo(vectorB)`.
687
- * * `vectorW` does not have to be perpendicular to the plane.
688
- * * Use `planarRadiansTo` to measure the angle between vectors that are projected to another plane.
689
- * @param vectorB target vector.
690
- * @param vectorW determines the side of the plane in which the returned angle is measured
691
- */
694
+ * Return the angle in radians (not as strongly-typed Angle) from this vector to vectorB, measured
695
+ * in their containing plane whose normal lies in the same half-space as vectorW.
696
+ * * The returned angle is between `-Math.PI` and `Math.PI`.
697
+ * * If the cross product of this vector and vectorB lies on the same side of the plane as vectorW,
698
+ * this function returns `radiansTo(vectorB)`; otherwise, it returns `-radiansTo(vectorB)`.
699
+ * * `vectorW` does not have to be perpendicular to the plane.
700
+ * * Use `planarRadiansTo` to measure the angle between vectors that are projected to another plane.
701
+ * @param vectorB target vector.
702
+ * @param vectorW determines the side of the plane in which the returned angle is measured
703
+ */
692
704
  signedRadiansTo(vectorB: Vector3d, vectorW: Vector3d): number;
693
- /** Return the (strongly-typed) angle from this vector to vectorB, measured
705
+ /**
706
+ * Return the (strongly-typed) angle from this vector to vectorB, measured
694
707
  * in their containing plane whose normal lies in the same half-space as vectorW.
695
708
  * * The returned angle is between -180 and 180 degrees.
696
709
  * * If the cross product of this vector and vectorB lies on the same side of the plane as vectorW,
@@ -717,11 +730,15 @@ export declare class Vector3d extends XYZ {
717
730
  * @param planeNormal the normal vector to the plane.
718
731
  */
719
732
  planarAngleTo(vectorB: Vector3d, planeNormal: Vector3d): Angle;
720
- /** Return the smallest angle (in radians) from the (bidirectional) line containing `this`
721
- * to the (bidirectional) line containing `vectorB` */
733
+ /**
734
+ * Return the smallest angle (in radians) from the (bidirectional) line containing `this`
735
+ * to the (bidirectional) line containing `vectorB`
736
+ */
722
737
  smallerUnorientedRadiansTo(vectorB: Vector3d): number;
723
- /** Return the smallest (strongly typed) angle from the (bidirectional) line containing `this`
724
- * to the (bidirectional) line containing `vectorB` */
738
+ /**
739
+ * Return the smallest (strongly typed) angle from the (bidirectional) line containing `this`
740
+ * to the (bidirectional) line containing `vectorB`
741
+ */
725
742
  smallerUnorientedAngleTo(vectorB: Vector3d): Angle;
726
743
  /**
727
744
  * Test if this vector is parallel to other.
@@ -1 +1 @@
1
- {"version":3,"file":"Point3dVector3d.d.ts","sourceRoot":"","sources":["../../../src/geometry3d/Point3dVector3d.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAY,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAG3D;;;;;;;GAOG;AACH,qBAAa,GAAI,YAAW,MAAM;IAChC,mBAAmB;IACZ,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB;IACZ,CAAC,EAAE,MAAM,CAAC;IACjB,mBAA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