@itwin/core-geometry 4.5.0-dev.32 → 4.5.0-dev.36
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/CHANGELOG.md +6 -1
- package/lib/cjs/geometry3d/XYZProps.d.ts +16 -8
- package/lib/cjs/geometry3d/XYZProps.d.ts.map +1 -1
- package/lib/cjs/geometry3d/XYZProps.js.map +1 -1
- package/lib/esm/geometry3d/XYZProps.d.ts +16 -8
- package/lib/esm/geometry3d/XYZProps.d.ts.map +1 -1
- package/lib/esm/geometry3d/XYZProps.js.map +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# Change Log - @itwin/core-geometry
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 15 Mar 2024 19:16:22 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 4.4.7
|
|
6
|
+
Fri, 15 Mar 2024 19:15:14 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
4
9
|
|
|
5
10
|
## 4.4.6
|
|
6
11
|
Fri, 08 Mar 2024 15:57:11 GMT
|
|
@@ -73,11 +73,25 @@ export declare namespace XYAndZ {
|
|
|
73
73
|
* @public
|
|
74
74
|
*/
|
|
75
75
|
export type LowAndHighXY = Readonly<WritableLowAndHighXY>;
|
|
76
|
+
/** JSON representation of [[LowAndHighXY]].
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export interface LowAndHighXYProps {
|
|
80
|
+
low: XYProps;
|
|
81
|
+
high: XYProps;
|
|
82
|
+
}
|
|
76
83
|
/**
|
|
77
84
|
* Interface for type with readable `low` and `high` members which have `x`, `y`, and `z` number members.
|
|
78
85
|
* @public
|
|
79
86
|
*/
|
|
80
87
|
export type LowAndHighXYZ = Readonly<WritableLowAndHighXYZ>;
|
|
88
|
+
/** JSON representation of [[LowAndHighXYZ]].
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export interface LowAndHighXYZProps {
|
|
92
|
+
low: XYZProps;
|
|
93
|
+
high: XYZProps;
|
|
94
|
+
}
|
|
81
95
|
/**
|
|
82
96
|
* Interface for variant json (one of)
|
|
83
97
|
* * (individually optional) `x`, `y`, `z`
|
|
@@ -124,20 +138,14 @@ export type TransformProps = number[][] | number[] | {
|
|
|
124
138
|
* * array of `XYZProps`
|
|
125
139
|
* @public
|
|
126
140
|
*/
|
|
127
|
-
export type Range3dProps =
|
|
128
|
-
low: XYZProps;
|
|
129
|
-
high: XYZProps;
|
|
130
|
-
} | XYZProps[];
|
|
141
|
+
export type Range3dProps = LowAndHighXYZProps | XYZProps[];
|
|
131
142
|
/**
|
|
132
143
|
* Interface for variant json representing a Range2d
|
|
133
144
|
* * pair of `XYProps` named `low` and `high`
|
|
134
145
|
* * array of `XYProps`
|
|
135
146
|
* @public
|
|
136
147
|
*/
|
|
137
|
-
export type Range2dProps =
|
|
138
|
-
low: XYProps;
|
|
139
|
-
high: XYProps;
|
|
140
|
-
} | XYProps[];
|
|
148
|
+
export type Range2dProps = LowAndHighXYProps | XYProps[];
|
|
141
149
|
/**
|
|
142
150
|
* Interface for variant json representing a Range1d
|
|
143
151
|
* * pair of `number` named `low` and `high`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XYZProps.d.ts","sourceRoot":"","sources":["../../../src/geometry3d/XYZProps.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,mBAAmB;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,mBAAmB;IACnB,CAAC,EAAE,MAAM,CAAC;CACX;AACD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,mBAAmB;IACnB,CAAC,EAAE,MAAM,CAAC;CACX;AACD;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,aAAa,EAAE,aAAa;CACnE;AACD;;;GAGG;AACH,MAAM,WAAW,oB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":["/*---------------------------------------------------------------------------------------------\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\r\n/** @packageDocumentation\r\n * @module CartesianGeometry\r\n */\r\n\r\nimport { Geometry } from \"../Geometry\";\r\n\r\n/**\r\n * Interface for class with `x` and `y` as number properties.\r\n * @public\r\n */\r\nexport interface WritableXAndY {\r\n /** x coordinate */\r\n x: number;\r\n /** y coordinate */\r\n y: number;\r\n}\r\n/**\r\n * Interface for class with `z` as number property.\r\n * @public\r\n */\r\nexport interface WriteableHasZ {\r\n /** z coordinate */\r\n z: number;\r\n}\r\n/**\r\n * Interface for class with `x`, `y`, `z` as number property.\r\n * @public\r\n */\r\nexport interface WritableXYAndZ extends WritableXAndY, WriteableHasZ {\r\n}\r\n/**\r\n * Interface for class with named properties `low` and `high`, both being `WriteableXAndY`\r\n * @public\r\n */\r\nexport interface WritableLowAndHighXY {\r\n /** Low x,y coordinates */\r\n low: WritableXAndY;\r\n /** High x,y,z coordinates */\r\n high: WritableXAndY;\r\n}\r\n/**\r\n * Interface for class with named properties `low` and `high`, both being `WriteableXYAndZ`\r\n * @public\r\n */\r\nexport interface WritableLowAndHighXYZ {\r\n /** Low x,y,z coordinates */\r\n low: WritableXYAndZ;\r\n /** High x,y,z coordinates */\r\n high: WritableXYAndZ;\r\n}\r\n/**\r\n * Interface for readable `z` number members.\r\n * @public\r\n */\r\nexport type HasZ = Readonly<WriteableHasZ>;\r\n/**\r\n * Interface for readable `x` and `y` number members.\r\n * @public\r\n */\r\nexport type XAndY = Readonly<WritableXAndY>;\r\n/**\r\n * Interface for type with readable `x`, `y`, `z` number members.\r\n * @public\r\n */\r\nexport type XYAndZ = Readonly<WritableXYAndZ>;\r\n\r\n/** @public */\r\nexport namespace XYAndZ { // eslint-disable-line @typescript-eslint/no-redeclare\r\n /**\r\n * Return true if two XYAndZs have equal x,y,z parts within a specified tolerance.\r\n * @param a The first XYAndZ to compare\r\n * @param b The second XYAndZ to compare\r\n * @param The tolerance for comparison. If undefined, [[Geometry.smallMetricDistance]] is used.\r\n * @returns true if the difference in each coordinate of `a` and `b` is smaller than `tol`.\r\n */\r\n export function almostEqual(a: XYAndZ, b: XYAndZ, tol?: number): boolean {\r\n return Geometry.isSameCoordinate(a.x, b.x, tol)\r\n && Geometry.isSameCoordinate(a.y, b.y, tol)\r\n && Geometry.isSameCoordinate(a.z, b.z, tol);\r\n }\r\n}\r\n\r\n/**\r\n * Interface for type with readable `low` and `high` members which have `x` and `y` number members.\r\n * @public\r\n */\r\nexport type LowAndHighXY = Readonly<WritableLowAndHighXY>;\r\n/**\r\n * Interface for type with readable `low` and `high` members which have `x`, `y`, and `z` number members.\r\n * @public\r\n */\r\nexport type LowAndHighXYZ = Readonly<WritableLowAndHighXYZ>;\r\n/**\r\n * Interface for variant json (one of)\r\n * * (individually optional) `x`, `y`, `z`\r\n * * number array\r\n * @public\r\n */\r\nexport type XYZProps = {\r\n x?: number;\r\n y?: number;\r\n z?: number;\r\n} | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * (individually optional) `x`, `y`\r\n * * number array\r\n * @public\r\n */\r\nexport type XYProps = {\r\n x?: number;\r\n y?: number;\r\n} | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * array of number arrays, with one matrix row in each array\r\n * * flat array of numbers, in row-mor order\r\n * * `Matrix3d` object\r\n * @public\r\n */\r\nexport type Matrix3dProps = number[][] | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * array of number arrays, with each low level array containing 4 numbers of a transform row (qx, qy, qz, ax)\r\n * * flat array of 12 numbers, in row-major order for the 3 rows of 4 values\r\n * * `Transform` object\r\n * @public\r\n */\r\nexport type TransformProps = number[][] | number[] | {\r\n origin: XYZProps;\r\n matrix: Matrix3dProps;\r\n};\r\n/**\r\n * Interface for variant json representing a Range3d\r\n * * pair of `XYZProps` named `low` and `high`\r\n * * array of `XYZProps`\r\n * @public\r\n */\r\nexport type Range3dProps =
|
|
1
|
+
{"version":3,"file":"XYZProps.js","sourceRoot":"","sources":["../../../src/geometry3d/XYZProps.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;;;AAE/F;;GAEG;AAEH,0CAAuC;AA8DvC,cAAc;AACd,IAAiB,MAAM,CAatB;AAbD,WAAiB,MAAM;IACrB;;;;;;OAMG;IACH,SAAgB,WAAW,CAAC,CAAS,EAAE,CAAS,EAAE,GAAY;QAC5D,OAAO,mBAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;eAC1C,mBAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;eACxC,mBAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAChD,CAAC;IAJe,kBAAW,cAI1B,CAAA;AACH,CAAC,EAbgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAatB","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\r\n/** @packageDocumentation\r\n * @module CartesianGeometry\r\n */\r\n\r\nimport { Geometry } from \"../Geometry\";\r\n\r\n/**\r\n * Interface for class with `x` and `y` as number properties.\r\n * @public\r\n */\r\nexport interface WritableXAndY {\r\n /** x coordinate */\r\n x: number;\r\n /** y coordinate */\r\n y: number;\r\n}\r\n/**\r\n * Interface for class with `z` as number property.\r\n * @public\r\n */\r\nexport interface WriteableHasZ {\r\n /** z coordinate */\r\n z: number;\r\n}\r\n/**\r\n * Interface for class with `x`, `y`, `z` as number property.\r\n * @public\r\n */\r\nexport interface WritableXYAndZ extends WritableXAndY, WriteableHasZ {\r\n}\r\n/**\r\n * Interface for class with named properties `low` and `high`, both being `WriteableXAndY`\r\n * @public\r\n */\r\nexport interface WritableLowAndHighXY {\r\n /** Low x,y coordinates */\r\n low: WritableXAndY;\r\n /** High x,y,z coordinates */\r\n high: WritableXAndY;\r\n}\r\n/**\r\n * Interface for class with named properties `low` and `high`, both being `WriteableXYAndZ`\r\n * @public\r\n */\r\nexport interface WritableLowAndHighXYZ {\r\n /** Low x,y,z coordinates */\r\n low: WritableXYAndZ;\r\n /** High x,y,z coordinates */\r\n high: WritableXYAndZ;\r\n}\r\n/**\r\n * Interface for readable `z` number members.\r\n * @public\r\n */\r\nexport type HasZ = Readonly<WriteableHasZ>;\r\n/**\r\n * Interface for readable `x` and `y` number members.\r\n * @public\r\n */\r\nexport type XAndY = Readonly<WritableXAndY>;\r\n/**\r\n * Interface for type with readable `x`, `y`, `z` number members.\r\n * @public\r\n */\r\nexport type XYAndZ = Readonly<WritableXYAndZ>;\r\n\r\n/** @public */\r\nexport namespace XYAndZ { // eslint-disable-line @typescript-eslint/no-redeclare\r\n /**\r\n * Return true if two XYAndZs have equal x,y,z parts within a specified tolerance.\r\n * @param a The first XYAndZ to compare\r\n * @param b The second XYAndZ to compare\r\n * @param The tolerance for comparison. If undefined, [[Geometry.smallMetricDistance]] is used.\r\n * @returns true if the difference in each coordinate of `a` and `b` is smaller than `tol`.\r\n */\r\n export function almostEqual(a: XYAndZ, b: XYAndZ, tol?: number): boolean {\r\n return Geometry.isSameCoordinate(a.x, b.x, tol)\r\n && Geometry.isSameCoordinate(a.y, b.y, tol)\r\n && Geometry.isSameCoordinate(a.z, b.z, tol);\r\n }\r\n}\r\n\r\n/**\r\n * Interface for type with readable `low` and `high` members which have `x` and `y` number members.\r\n * @public\r\n */\r\nexport type LowAndHighXY = Readonly<WritableLowAndHighXY>;\r\n\r\n/** JSON representation of [[LowAndHighXY]].\r\n * @public\r\n */\r\nexport interface LowAndHighXYProps { low: XYProps, high: XYProps }\r\n\r\n/**\r\n * Interface for type with readable `low` and `high` members which have `x`, `y`, and `z` number members.\r\n * @public\r\n */\r\nexport type LowAndHighXYZ = Readonly<WritableLowAndHighXYZ>;\r\n\r\n/** JSON representation of [[LowAndHighXYZ]].\r\n * @public\r\n */\r\nexport interface LowAndHighXYZProps { low: XYZProps, high: XYZProps }\r\n\r\n/**\r\n * Interface for variant json (one of)\r\n * * (individually optional) `x`, `y`, `z`\r\n * * number array\r\n * @public\r\n */\r\nexport type XYZProps = {\r\n x?: number;\r\n y?: number;\r\n z?: number;\r\n} | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * (individually optional) `x`, `y`\r\n * * number array\r\n * @public\r\n */\r\nexport type XYProps = {\r\n x?: number;\r\n y?: number;\r\n} | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * array of number arrays, with one matrix row in each array\r\n * * flat array of numbers, in row-mor order\r\n * * `Matrix3d` object\r\n * @public\r\n */\r\nexport type Matrix3dProps = number[][] | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * array of number arrays, with each low level array containing 4 numbers of a transform row (qx, qy, qz, ax)\r\n * * flat array of 12 numbers, in row-major order for the 3 rows of 4 values\r\n * * `Transform` object\r\n * @public\r\n */\r\nexport type TransformProps = number[][] | number[] | {\r\n origin: XYZProps;\r\n matrix: Matrix3dProps;\r\n};\r\n/**\r\n * Interface for variant json representing a Range3d\r\n * * pair of `XYZProps` named `low` and `high`\r\n * * array of `XYZProps`\r\n * @public\r\n */\r\nexport type Range3dProps = LowAndHighXYZProps | XYZProps[];\r\n/**\r\n * Interface for variant json representing a Range2d\r\n * * pair of `XYProps` named `low` and `high`\r\n * * array of `XYProps`\r\n * @public\r\n */\r\nexport type Range2dProps = LowAndHighXYProps | XYProps[];\r\n/**\r\n * Interface for variant json representing a Range1d\r\n * * pair of `number` named `low` and `high`\r\n * * array of `number`\r\n * @public\r\n */\r\nexport type Range1dProps = {\r\n low: number;\r\n high: number;\r\n} | number[];\r\n"]}
|
|
@@ -73,11 +73,25 @@ export declare namespace XYAndZ {
|
|
|
73
73
|
* @public
|
|
74
74
|
*/
|
|
75
75
|
export type LowAndHighXY = Readonly<WritableLowAndHighXY>;
|
|
76
|
+
/** JSON representation of [[LowAndHighXY]].
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export interface LowAndHighXYProps {
|
|
80
|
+
low: XYProps;
|
|
81
|
+
high: XYProps;
|
|
82
|
+
}
|
|
76
83
|
/**
|
|
77
84
|
* Interface for type with readable `low` and `high` members which have `x`, `y`, and `z` number members.
|
|
78
85
|
* @public
|
|
79
86
|
*/
|
|
80
87
|
export type LowAndHighXYZ = Readonly<WritableLowAndHighXYZ>;
|
|
88
|
+
/** JSON representation of [[LowAndHighXYZ]].
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export interface LowAndHighXYZProps {
|
|
92
|
+
low: XYZProps;
|
|
93
|
+
high: XYZProps;
|
|
94
|
+
}
|
|
81
95
|
/**
|
|
82
96
|
* Interface for variant json (one of)
|
|
83
97
|
* * (individually optional) `x`, `y`, `z`
|
|
@@ -124,20 +138,14 @@ export type TransformProps = number[][] | number[] | {
|
|
|
124
138
|
* * array of `XYZProps`
|
|
125
139
|
* @public
|
|
126
140
|
*/
|
|
127
|
-
export type Range3dProps =
|
|
128
|
-
low: XYZProps;
|
|
129
|
-
high: XYZProps;
|
|
130
|
-
} | XYZProps[];
|
|
141
|
+
export type Range3dProps = LowAndHighXYZProps | XYZProps[];
|
|
131
142
|
/**
|
|
132
143
|
* Interface for variant json representing a Range2d
|
|
133
144
|
* * pair of `XYProps` named `low` and `high`
|
|
134
145
|
* * array of `XYProps`
|
|
135
146
|
* @public
|
|
136
147
|
*/
|
|
137
|
-
export type Range2dProps =
|
|
138
|
-
low: XYProps;
|
|
139
|
-
high: XYProps;
|
|
140
|
-
} | XYProps[];
|
|
148
|
+
export type Range2dProps = LowAndHighXYProps | XYProps[];
|
|
141
149
|
/**
|
|
142
150
|
* Interface for variant json representing a Range1d
|
|
143
151
|
* * pair of `number` named `low` and `high`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XYZProps.d.ts","sourceRoot":"","sources":["../../../src/geometry3d/XYZProps.ts"],"names":[],"mappings":"AAWA;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,mBAAmB;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,mBAAmB;IACnB,CAAC,EAAE,MAAM,CAAC;CACX;AACD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,mBAAmB;IACnB,CAAC,EAAE,MAAM,CAAC;CACX;AACD;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,aAAa,EAAE,aAAa;CACnE;AACD;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,0BAA0B;IAC1B,GAAG,EAAE,aAAa,CAAC;IACnB,6BAA6B;IAC7B,IAAI,EAAE,aAAa,CAAC;CACrB;AACD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,4BAA4B;IAC5B,GAAG,EAAE,cAAc,CAAC;IACpB,6BAA6B;IAC7B,IAAI,EAAE,cAAc,CAAC;CACtB;AACD;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;AAC3C;;;GAGG;AACH,MAAM,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;AAC5C;;;GAGG;AACH,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAC;AAE9C,cAAc;AACd,yBAAiB,MAAM,CAAC;IACtB;;;;;;OAMG;IACH,SAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAIvE;CACF;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"XYZProps.d.ts","sourceRoot":"","sources":["../../../src/geometry3d/XY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AiB,MAAM;IACrB;;;;;;OAMG;IACH,SAAgB,WAAW,CAAC,CAAS,EAAE,CAAS,EAAE,GAAY;QAC5D,OAAO,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;eAC1C,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;eACxC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAChD,CAAC;IAJe,kBAAW,cAI1B,CAAA;AACH,CAAC,EAbgB,MAAM,KAAN,MAAM,QAatB","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\r\n/** @packageDocumentation\r\n * @module CartesianGeometry\r\n */\r\n\r\nimport { Geometry } from \"../Geometry\";\r\n\r\n/**\r\n * Interface for class with `x` and `y` as number properties.\r\n * @public\r\n */\r\nexport interface WritableXAndY {\r\n /** x coordinate */\r\n x: number;\r\n /** y coordinate */\r\n y: number;\r\n}\r\n/**\r\n * Interface for class with `z` as number property.\r\n * @public\r\n */\r\nexport interface WriteableHasZ {\r\n /** z coordinate */\r\n z: number;\r\n}\r\n/**\r\n * Interface for class with `x`, `y`, `z` as number property.\r\n * @public\r\n */\r\nexport interface WritableXYAndZ extends WritableXAndY, WriteableHasZ {\r\n}\r\n/**\r\n * Interface for class with named properties `low` and `high`, both being `WriteableXAndY`\r\n * @public\r\n */\r\nexport interface WritableLowAndHighXY {\r\n /** Low x,y coordinates */\r\n low: WritableXAndY;\r\n /** High x,y,z coordinates */\r\n high: WritableXAndY;\r\n}\r\n/**\r\n * Interface for class with named properties `low` and `high`, both being `WriteableXYAndZ`\r\n * @public\r\n */\r\nexport interface WritableLowAndHighXYZ {\r\n /** Low x,y,z coordinates */\r\n low: WritableXYAndZ;\r\n /** High x,y,z coordinates */\r\n high: WritableXYAndZ;\r\n}\r\n/**\r\n * Interface for readable `z` number members.\r\n * @public\r\n */\r\nexport type HasZ = Readonly<WriteableHasZ>;\r\n/**\r\n * Interface for readable `x` and `y` number members.\r\n * @public\r\n */\r\nexport type XAndY = Readonly<WritableXAndY>;\r\n/**\r\n * Interface for type with readable `x`, `y`, `z` number members.\r\n * @public\r\n */\r\nexport type XYAndZ = Readonly<WritableXYAndZ>;\r\n\r\n/** @public */\r\nexport namespace XYAndZ { // eslint-disable-line @typescript-eslint/no-redeclare\r\n /**\r\n * Return true if two XYAndZs have equal x,y,z parts within a specified tolerance.\r\n * @param a The first XYAndZ to compare\r\n * @param b The second XYAndZ to compare\r\n * @param The tolerance for comparison. If undefined, [[Geometry.smallMetricDistance]] is used.\r\n * @returns true if the difference in each coordinate of `a` and `b` is smaller than `tol`.\r\n */\r\n export function almostEqual(a: XYAndZ, b: XYAndZ, tol?: number): boolean {\r\n return Geometry.isSameCoordinate(a.x, b.x, tol)\r\n && Geometry.isSameCoordinate(a.y, b.y, tol)\r\n && Geometry.isSameCoordinate(a.z, b.z, tol);\r\n }\r\n}\r\n\r\n/**\r\n * Interface for type with readable `low` and `high` members which have `x` and `y` number members.\r\n * @public\r\n */\r\nexport type LowAndHighXY = Readonly<WritableLowAndHighXY>;\r\n/**\r\n * Interface for type with readable `low` and `high` members which have `x`, `y`, and `z` number members.\r\n * @public\r\n */\r\nexport type LowAndHighXYZ = Readonly<WritableLowAndHighXYZ>;\r\n/**\r\n * Interface for variant json (one of)\r\n * * (individually optional) `x`, `y`, `z`\r\n * * number array\r\n * @public\r\n */\r\nexport type XYZProps = {\r\n x?: number;\r\n y?: number;\r\n z?: number;\r\n} | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * (individually optional) `x`, `y`\r\n * * number array\r\n * @public\r\n */\r\nexport type XYProps = {\r\n x?: number;\r\n y?: number;\r\n} | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * array of number arrays, with one matrix row in each array\r\n * * flat array of numbers, in row-mor order\r\n * * `Matrix3d` object\r\n * @public\r\n */\r\nexport type Matrix3dProps = number[][] | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * array of number arrays, with each low level array containing 4 numbers of a transform row (qx, qy, qz, ax)\r\n * * flat array of 12 numbers, in row-major order for the 3 rows of 4 values\r\n * * `Transform` object\r\n * @public\r\n */\r\nexport type TransformProps = number[][] | number[] | {\r\n origin: XYZProps;\r\n matrix: Matrix3dProps;\r\n};\r\n/**\r\n * Interface for variant json representing a Range3d\r\n * * pair of `XYZProps` named `low` and `high`\r\n * * array of `XYZProps`\r\n * @public\r\n */\r\nexport type Range3dProps =
|
|
1
|
+
{"version":3,"file":"XYZProps.js","sourceRoot":"","sources":["../../../src/geometry3d/XYZProps.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AA8DvC,cAAc;AACd,MAAM,KAAW,MAAM,CAatB;AAbD,WAAiB,MAAM;IACrB;;;;;;OAMG;IACH,SAAgB,WAAW,CAAC,CAAS,EAAE,CAAS,EAAE,GAAY;QAC5D,OAAO,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;eAC1C,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC;eACxC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAChD,CAAC;IAJe,kBAAW,cAI1B,CAAA;AACH,CAAC,EAbgB,MAAM,KAAN,MAAM,QAatB","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\r\n/** @packageDocumentation\r\n * @module CartesianGeometry\r\n */\r\n\r\nimport { Geometry } from \"../Geometry\";\r\n\r\n/**\r\n * Interface for class with `x` and `y` as number properties.\r\n * @public\r\n */\r\nexport interface WritableXAndY {\r\n /** x coordinate */\r\n x: number;\r\n /** y coordinate */\r\n y: number;\r\n}\r\n/**\r\n * Interface for class with `z` as number property.\r\n * @public\r\n */\r\nexport interface WriteableHasZ {\r\n /** z coordinate */\r\n z: number;\r\n}\r\n/**\r\n * Interface for class with `x`, `y`, `z` as number property.\r\n * @public\r\n */\r\nexport interface WritableXYAndZ extends WritableXAndY, WriteableHasZ {\r\n}\r\n/**\r\n * Interface for class with named properties `low` and `high`, both being `WriteableXAndY`\r\n * @public\r\n */\r\nexport interface WritableLowAndHighXY {\r\n /** Low x,y coordinates */\r\n low: WritableXAndY;\r\n /** High x,y,z coordinates */\r\n high: WritableXAndY;\r\n}\r\n/**\r\n * Interface for class with named properties `low` and `high`, both being `WriteableXYAndZ`\r\n * @public\r\n */\r\nexport interface WritableLowAndHighXYZ {\r\n /** Low x,y,z coordinates */\r\n low: WritableXYAndZ;\r\n /** High x,y,z coordinates */\r\n high: WritableXYAndZ;\r\n}\r\n/**\r\n * Interface for readable `z` number members.\r\n * @public\r\n */\r\nexport type HasZ = Readonly<WriteableHasZ>;\r\n/**\r\n * Interface for readable `x` and `y` number members.\r\n * @public\r\n */\r\nexport type XAndY = Readonly<WritableXAndY>;\r\n/**\r\n * Interface for type with readable `x`, `y`, `z` number members.\r\n * @public\r\n */\r\nexport type XYAndZ = Readonly<WritableXYAndZ>;\r\n\r\n/** @public */\r\nexport namespace XYAndZ { // eslint-disable-line @typescript-eslint/no-redeclare\r\n /**\r\n * Return true if two XYAndZs have equal x,y,z parts within a specified tolerance.\r\n * @param a The first XYAndZ to compare\r\n * @param b The second XYAndZ to compare\r\n * @param The tolerance for comparison. If undefined, [[Geometry.smallMetricDistance]] is used.\r\n * @returns true if the difference in each coordinate of `a` and `b` is smaller than `tol`.\r\n */\r\n export function almostEqual(a: XYAndZ, b: XYAndZ, tol?: number): boolean {\r\n return Geometry.isSameCoordinate(a.x, b.x, tol)\r\n && Geometry.isSameCoordinate(a.y, b.y, tol)\r\n && Geometry.isSameCoordinate(a.z, b.z, tol);\r\n }\r\n}\r\n\r\n/**\r\n * Interface for type with readable `low` and `high` members which have `x` and `y` number members.\r\n * @public\r\n */\r\nexport type LowAndHighXY = Readonly<WritableLowAndHighXY>;\r\n\r\n/** JSON representation of [[LowAndHighXY]].\r\n * @public\r\n */\r\nexport interface LowAndHighXYProps { low: XYProps, high: XYProps }\r\n\r\n/**\r\n * Interface for type with readable `low` and `high` members which have `x`, `y`, and `z` number members.\r\n * @public\r\n */\r\nexport type LowAndHighXYZ = Readonly<WritableLowAndHighXYZ>;\r\n\r\n/** JSON representation of [[LowAndHighXYZ]].\r\n * @public\r\n */\r\nexport interface LowAndHighXYZProps { low: XYZProps, high: XYZProps }\r\n\r\n/**\r\n * Interface for variant json (one of)\r\n * * (individually optional) `x`, `y`, `z`\r\n * * number array\r\n * @public\r\n */\r\nexport type XYZProps = {\r\n x?: number;\r\n y?: number;\r\n z?: number;\r\n} | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * (individually optional) `x`, `y`\r\n * * number array\r\n * @public\r\n */\r\nexport type XYProps = {\r\n x?: number;\r\n y?: number;\r\n} | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * array of number arrays, with one matrix row in each array\r\n * * flat array of numbers, in row-mor order\r\n * * `Matrix3d` object\r\n * @public\r\n */\r\nexport type Matrix3dProps = number[][] | number[];\r\n/**\r\n * Interface for variant json (one of)\r\n * * array of number arrays, with each low level array containing 4 numbers of a transform row (qx, qy, qz, ax)\r\n * * flat array of 12 numbers, in row-major order for the 3 rows of 4 values\r\n * * `Transform` object\r\n * @public\r\n */\r\nexport type TransformProps = number[][] | number[] | {\r\n origin: XYZProps;\r\n matrix: Matrix3dProps;\r\n};\r\n/**\r\n * Interface for variant json representing a Range3d\r\n * * pair of `XYZProps` named `low` and `high`\r\n * * array of `XYZProps`\r\n * @public\r\n */\r\nexport type Range3dProps = LowAndHighXYZProps | XYZProps[];\r\n/**\r\n * Interface for variant json representing a Range2d\r\n * * pair of `XYProps` named `low` and `high`\r\n * * array of `XYProps`\r\n * @public\r\n */\r\nexport type Range2dProps = LowAndHighXYProps | XYProps[];\r\n/**\r\n * Interface for variant json representing a Range1d\r\n * * pair of `number` named `low` and `high`\r\n * * array of `number`\r\n * @public\r\n */\r\nexport type Range1dProps = {\r\n low: number;\r\n high: number;\r\n} | number[];\r\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/core-geometry",
|
|
3
|
-
"version": "4.5.0-dev.
|
|
3
|
+
"version": "4.5.0-dev.36",
|
|
4
4
|
"description": "iTwin.js Core Geometry library",
|
|
5
5
|
"main": "lib/cjs/core-geometry.js",
|
|
6
6
|
"module": "lib/esm/core-geometry.js",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"nyc": "^15.1.0",
|
|
36
36
|
"rimraf": "^3.0.2",
|
|
37
37
|
"typescript": "~5.0.2",
|
|
38
|
-
"@itwin/build-tools": "4.5.0-dev.
|
|
38
|
+
"@itwin/build-tools": "4.5.0-dev.36"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"flatbuffers": "~1.12.0",
|
|
42
|
-
"@itwin/core-bentley": "4.5.0-dev.
|
|
42
|
+
"@itwin/core-bentley": "4.5.0-dev.36"
|
|
43
43
|
},
|
|
44
44
|
"nyc": {
|
|
45
45
|
"extends": "./node_modules/@itwin/build-tools/.nycrc",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"extract-api-test": "betools extract-api --entry=core-geometry",
|
|
61
61
|
"docs": "betools docs --tsIndexFile=./core-geometry.ts --json=../../generated-docs/core/core-geometry/file.json --onlyJson",
|
|
62
62
|
"cover": "nyc npm -s test",
|
|
63
|
-
"lint": "eslint -f visualstudio \"./src/**/*.ts\" 1>&2"
|
|
63
|
+
"lint": "eslint -f visualstudio \"./src/**/*.ts\" 1>&2",
|
|
64
|
+
"lint-fix": "eslint --fix -f visualstudio \"./src/**/*.ts\" 1>&2"
|
|
64
65
|
}
|
|
65
66
|
}
|