avvir 8.0.9 → 8.1.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/dist/avvir_api.node.js
CHANGED
|
@@ -3817,11 +3817,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3817
3817
|
|
|
3818
3818
|
var ApiFloor = /** @class */ (function () {
|
|
3819
3819
|
function ApiFloor(_a) {
|
|
3820
|
-
var _b = _a === void 0 ? {} : _a, id = _b.id, firebaseId = _b.firebaseId, ordinal = _b.ordinal, floorNumber = _b.floorNumber, defaultFirebaseScanDatasetId = _b.defaultFirebaseScanDatasetId, firebaseProjectId = _b.firebaseProjectId, firebaseScanDatasetIds = _b.firebaseScanDatasetIds, constructionGrid = _b.constructionGrid, plannedElementCount = _b.plannedElementCount, plannedElementsExist = _b.plannedElementsExist, scanDate = _b.scanDate, scanDateString = _b.scanDateString, photoAreaId = _b.photoAreaId, offset = _b.offset, photoAreaMinimapPixelToBimMinimapPixel = _b.photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld = _b.bimMinimapToWorld, floorElevation = _b.floorElevation, globalOffsetYaw = _b.globalOffsetYaw, lockedByRunningProcessId = _b.lockedByRunningProcessId;
|
|
3820
|
+
var _b = _a === void 0 ? {} : _a, id = _b.id, firebaseId = _b.firebaseId, ordinal = _b.ordinal, floorNumber = _b.floorNumber, defaultFirebaseScanDatasetId = _b.defaultFirebaseScanDatasetId, firebaseProjectId = _b.firebaseProjectId, firebaseScanDatasetIds = _b.firebaseScanDatasetIds, constructionGrid = _b.constructionGrid, plannedElementCount = _b.plannedElementCount, plannedElementsExist = _b.plannedElementsExist, scanDate = _b.scanDate, scanDateString = _b.scanDateString, photoAreaId = _b.photoAreaId, offset = _b.offset, photoAreaMinimapPixelToBimMinimapPixel = _b.photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld = _b.bimMinimapToWorld, floorElevation = _b.floorElevation, floorPlanOffset = _b.floorPlanOffset, globalOffsetYaw = _b.globalOffsetYaw, lockedByRunningProcessId = _b.lockedByRunningProcessId;
|
|
3821
3821
|
this.constructionGrid = null;
|
|
3822
3822
|
this.plannedElementCount = null;
|
|
3823
3823
|
this.plannedElementsExist = null;
|
|
3824
|
+
/** The date of the current default capture dataset */
|
|
3824
3825
|
this.scanDate = null;
|
|
3826
|
+
/** The string representation of the {@link scanDate} */
|
|
3825
3827
|
this.scanDateString = null;
|
|
3826
3828
|
this.offset = null;
|
|
3827
3829
|
this.photoAreaId = null;
|
|
@@ -3897,6 +3899,7 @@ var ApiFloor = /** @class */ (function () {
|
|
|
3897
3899
|
// @ts-ignore
|
|
3898
3900
|
this.bimMinimapToWorld = bimMinimapToWorld || null;
|
|
3899
3901
|
this.floorElevation = floorElevation || null;
|
|
3902
|
+
this.floorPlanOffset = floorPlanOffset || 0;
|
|
3900
3903
|
this.globalOffsetYaw = globalOffsetYaw;
|
|
3901
3904
|
this.lockedByRunningProcessId = lockedByRunningProcessId;
|
|
3902
3905
|
}
|
|
@@ -7,45 +7,35 @@ export declare type ApiFloorArgument = ModifyPartial<ApiFloor, {
|
|
|
7
7
|
bimMinimapToWorld?: Matrix3Like;
|
|
8
8
|
}>;
|
|
9
9
|
export declare class ApiFloor {
|
|
10
|
-
constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, globalOffsetYaw, lockedByRunningProcessId }?: ApiFloorArgument);
|
|
11
|
-
/**
|
|
12
|
-
* Internal identifier, not used in URLs.
|
|
13
|
-
*/
|
|
10
|
+
constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, floorPlanOffset, globalOffsetYaw, lockedByRunningProcessId }?: ApiFloorArgument);
|
|
11
|
+
/** Internal identifier, not used in URLs. */
|
|
14
12
|
readonly id: number;
|
|
15
|
-
/**
|
|
16
|
-
* External identifier, suitable for use in URLs.
|
|
17
|
-
*/
|
|
13
|
+
/** External identifier, suitable for use in URLs. */
|
|
18
14
|
readonly firebaseId: string;
|
|
19
|
-
/**
|
|
20
|
-
* External identifier of the project that this area belongs to.
|
|
21
|
-
*/
|
|
15
|
+
/** External identifier of the project that this area belongs to. */
|
|
22
16
|
readonly firebaseProjectId: string;
|
|
23
|
-
/**
|
|
24
|
-
* Ordinal number to sort this area by when showing all of the areas in a project.
|
|
25
|
-
*/
|
|
17
|
+
/** Ordinal number to sort this area by when showing all the areas in a project. */
|
|
26
18
|
ordinal: number;
|
|
27
|
-
/**
|
|
28
|
-
* The name or title of this area.
|
|
29
|
-
*/
|
|
19
|
+
/** The name or title of this area. */
|
|
30
20
|
floorNumber: string;
|
|
31
|
-
/**
|
|
32
|
-
* External identifier of the default capture dataset associated with this area.
|
|
33
|
-
*/
|
|
21
|
+
/** External identifier of the default capture dataset associated with this area. */
|
|
34
22
|
defaultFirebaseScanDatasetId: string;
|
|
35
|
-
/**
|
|
36
|
-
* An array of external identifiers of the capture datasets associated with this area.
|
|
37
|
-
*/
|
|
23
|
+
/** An array of external identifiers of the capture datasets associated with this area. */
|
|
38
24
|
firebaseScanDatasetIds: string[];
|
|
39
25
|
constructionGrid: ApiConstructionGrid | null;
|
|
40
26
|
plannedElementCount: number | null;
|
|
41
27
|
plannedElementsExist: boolean | null;
|
|
28
|
+
/** The date of the current default capture dataset */
|
|
42
29
|
scanDate: number | null;
|
|
30
|
+
/** The string representation of the {@link scanDate} */
|
|
43
31
|
scanDateString: string | null;
|
|
44
32
|
readonly offset: Vector2Like;
|
|
45
33
|
photoAreaId: number | null;
|
|
46
34
|
photoAreaMinimapPixelToBimMinimapPixel: ApiMatrix3 | null;
|
|
47
35
|
bimMinimapToWorld: ApiMatrix3 | null;
|
|
48
36
|
floorElevation: number | null;
|
|
37
|
+
/** The vertical offset of the floor plan from the {@link floorElevation}, useful for adjusting the height of the floor plan to make it more visible */
|
|
38
|
+
floorPlanOffset: number;
|
|
49
39
|
globalOffsetYaw: number | null;
|
|
50
40
|
lockedByRunningProcessId?: number;
|
|
51
41
|
}
|
|
@@ -3,11 +3,13 @@ import addInstantGetterAndSetterToApiModel from "../../mixins/add_instant_getter
|
|
|
3
3
|
import addReadOnlyPropertiesToModel from "../../mixins/add_read_only_properties_to_model";
|
|
4
4
|
import Matrix3Converter from "../../converters/matrix_3_converter";
|
|
5
5
|
export class ApiFloor {
|
|
6
|
-
constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, globalOffsetYaw, lockedByRunningProcessId } = {}) {
|
|
6
|
+
constructor({ id, firebaseId, ordinal, floorNumber, defaultFirebaseScanDatasetId, firebaseProjectId, firebaseScanDatasetIds, constructionGrid, plannedElementCount, plannedElementsExist, scanDate, scanDateString, photoAreaId, offset, photoAreaMinimapPixelToBimMinimapPixel, bimMinimapToWorld, floorElevation, floorPlanOffset, globalOffsetYaw, lockedByRunningProcessId } = {}) {
|
|
7
7
|
this.constructionGrid = null;
|
|
8
8
|
this.plannedElementCount = null;
|
|
9
9
|
this.plannedElementsExist = null;
|
|
10
|
+
/** The date of the current default capture dataset */
|
|
10
11
|
this.scanDate = null;
|
|
12
|
+
/** The string representation of the {@link scanDate} */
|
|
11
13
|
this.scanDateString = null;
|
|
12
14
|
this.offset = null;
|
|
13
15
|
this.photoAreaId = null;
|
|
@@ -83,6 +85,7 @@ export class ApiFloor {
|
|
|
83
85
|
// @ts-ignore
|
|
84
86
|
this.bimMinimapToWorld = bimMinimapToWorld || null;
|
|
85
87
|
this.floorElevation = floorElevation || null;
|
|
88
|
+
this.floorPlanOffset = floorPlanOffset || 0;
|
|
86
89
|
this.globalOffsetYaw = globalOffsetYaw;
|
|
87
90
|
this.lockedByRunningProcessId = lockedByRunningProcessId;
|
|
88
91
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_floor.js","sourceRoot":"","sources":["../../../../source/models/api/api_floor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAC1F,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AAYnE,MAAM,OAAO,QAAQ;IACnB,YAAY,EACE,EAAE,EACF,UAAU,EACV,OAAO,EACP,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,cAAc,EACd,WAAW,EACX,MAAM,EACN,sCAAsC,EACtC,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,wBAAwB,KACJ,EAAE;
|
|
1
|
+
{"version":3,"file":"api_floor.js","sourceRoot":"","sources":["../../../../source/models/api/api_floor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,mCAAmC,MAAM,yDAAyD,CAAC;AAC1G,OAAO,4BAA4B,MAAM,gDAAgD,CAAC;AAC1F,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AAYnE,MAAM,OAAO,QAAQ;IACnB,YAAY,EACE,EAAE,EACF,UAAU,EACV,OAAO,EACP,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,cAAc,EACd,WAAW,EACX,MAAM,EACN,s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,CAAC;QACnD,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,IAAI,CAAC;QAC7C,IAAI,CAAC,eAAe,GAAG,eAAe,IAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAC;IAC3D,CAAC;CAgCF;AAED,eAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -33,6 +33,7 @@ export class ApiFloor {
|
|
|
33
33
|
photoAreaMinimapPixelToBimMinimapPixel,
|
|
34
34
|
bimMinimapToWorld,
|
|
35
35
|
floorElevation,
|
|
36
|
+
floorPlanOffset,
|
|
36
37
|
globalOffsetYaw,
|
|
37
38
|
lockedByRunningProcessId
|
|
38
39
|
}: ApiFloorArgument = {})
|
|
@@ -104,55 +105,39 @@ export class ApiFloor {
|
|
|
104
105
|
// @ts-ignore
|
|
105
106
|
this.bimMinimapToWorld = bimMinimapToWorld || null;
|
|
106
107
|
this.floorElevation = floorElevation || null;
|
|
108
|
+
this.floorPlanOffset = floorPlanOffset || 0;
|
|
107
109
|
this.globalOffsetYaw = globalOffsetYaw;
|
|
108
110
|
this.lockedByRunningProcessId = lockedByRunningProcessId;
|
|
109
111
|
}
|
|
110
112
|
|
|
111
|
-
/**
|
|
112
|
-
* Internal identifier, not used in URLs.
|
|
113
|
-
*/
|
|
113
|
+
/** Internal identifier, not used in URLs. */
|
|
114
114
|
readonly id: number;
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* External identifier, suitable for use in URLs.
|
|
118
|
-
*/
|
|
115
|
+
/** External identifier, suitable for use in URLs. */
|
|
119
116
|
readonly firebaseId: string;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* External identifier of the project that this area belongs to.
|
|
123
|
-
*/
|
|
117
|
+
/** External identifier of the project that this area belongs to. */
|
|
124
118
|
readonly firebaseProjectId: string;
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Ordinal number to sort this area by when showing all of the areas in a project.
|
|
128
|
-
*/
|
|
119
|
+
/** Ordinal number to sort this area by when showing all the areas in a project. */
|
|
129
120
|
ordinal: number;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* The name or title of this area.
|
|
133
|
-
*/
|
|
121
|
+
/** The name or title of this area. */
|
|
134
122
|
floorNumber: string;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* External identifier of the default capture dataset associated with this area.
|
|
138
|
-
*/
|
|
123
|
+
/** External identifier of the default capture dataset associated with this area. */
|
|
139
124
|
defaultFirebaseScanDatasetId: string;
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* An array of external identifiers of the capture datasets associated with this area.
|
|
143
|
-
*/
|
|
125
|
+
/** An array of external identifiers of the capture datasets associated with this area. */
|
|
144
126
|
firebaseScanDatasetIds: string[];
|
|
145
|
-
|
|
146
127
|
constructionGrid: ApiConstructionGrid | null = null;
|
|
147
128
|
plannedElementCount: number | null = null;
|
|
148
129
|
plannedElementsExist: boolean | null = null;
|
|
130
|
+
/** The date of the current default capture dataset */
|
|
149
131
|
scanDate: number | null = null;
|
|
132
|
+
/** The string representation of the {@link scanDate} */
|
|
150
133
|
scanDateString: string | null = null;
|
|
151
134
|
readonly offset: Vector2Like = null;
|
|
152
135
|
photoAreaId: number | null = null;
|
|
153
136
|
photoAreaMinimapPixelToBimMinimapPixel: ApiMatrix3 | null = null;
|
|
154
137
|
bimMinimapToWorld: ApiMatrix3 | null = null;
|
|
155
138
|
floorElevation: number | null;
|
|
139
|
+
/** The vertical offset of the floor plan from the {@link floorElevation}, useful for adjusting the height of the floor plan to make it more visible */
|
|
140
|
+
floorPlanOffset: number;
|
|
156
141
|
globalOffsetYaw: number | null;
|
|
157
142
|
lockedByRunningProcessId?: number;
|
|
158
143
|
}
|