rm-gxf-computing-rusts 0.0.48 → 0.0.50
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/package.json +1 -1
- package/src/gfx.linux-x64-gnu.node +0 -0
- package/src/gfx.win32-x64-msvc.node +0 -0
- package/src/index.d.ts +29 -0
- package/src/index.js +1 -0
- package/src/main.js +1 -2
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/src/index.d.ts
CHANGED
|
@@ -190,6 +190,16 @@ export interface Line {
|
|
|
190
190
|
end: Vector3F64
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
+
export interface Line {
|
|
194
|
+
start: Vector3F64
|
|
195
|
+
end: Vector3F64
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export interface Line {
|
|
199
|
+
start: Vector3F64
|
|
200
|
+
end: Vector3F64
|
|
201
|
+
}
|
|
202
|
+
|
|
193
203
|
export interface LineData {
|
|
194
204
|
start: Vector3F64
|
|
195
205
|
end: Vector3F64
|
|
@@ -222,11 +232,13 @@ export declare function panorama(option: PanoramaOption): PanoramaResults
|
|
|
222
232
|
|
|
223
233
|
export interface PanoramaOption {
|
|
224
234
|
view?: boolean
|
|
235
|
+
baseUrl: string
|
|
225
236
|
imageGroups: Array<Array<ImageInfo>>
|
|
226
237
|
}
|
|
227
238
|
|
|
228
239
|
export interface PanoramaOption {
|
|
229
240
|
view?: boolean
|
|
241
|
+
baseUrl: string
|
|
230
242
|
imageGroups: Array<Array<ImageInfo>>
|
|
231
243
|
}
|
|
232
244
|
|
|
@@ -270,6 +282,23 @@ export interface PcBackfaceTestOptions {
|
|
|
270
282
|
distProjection: boolean
|
|
271
283
|
}
|
|
272
284
|
|
|
285
|
+
export interface PcVisibleDirectOption {
|
|
286
|
+
view?: boolean
|
|
287
|
+
pcdDir: string
|
|
288
|
+
lines: Array<Line>
|
|
289
|
+
trajectorys: Record<string, Vector3F64>
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export interface PcVisibleDirectOption {
|
|
293
|
+
view?: boolean
|
|
294
|
+
pcdDir: string
|
|
295
|
+
lines: Array<Line>
|
|
296
|
+
trajectorys: Record<string, Vector3F64>
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/** 点云可见方向检测 */
|
|
300
|
+
export declare function pointCloudVisibleDirection(option: PcVisibleDirectOption): Array<number>
|
|
301
|
+
|
|
273
302
|
export interface Quads {
|
|
274
303
|
originalVertices: Array<Array<Vector3F64>>
|
|
275
304
|
allCenterPoints: Array<Vector3F64>
|
package/src/index.js
CHANGED
|
@@ -592,6 +592,7 @@ module.exports.SquareHasObjectInFront = nativeBinding.SquareHasObjectInFront
|
|
|
592
592
|
module.exports.checkLineSideVisibility = nativeBinding.checkLineSideVisibility
|
|
593
593
|
module.exports.modelPreview = nativeBinding.modelPreview
|
|
594
594
|
module.exports.panorama = nativeBinding.panorama
|
|
595
|
+
module.exports.pointCloudVisibleDirection = nativeBinding.pointCloudVisibleDirection
|
|
595
596
|
module.exports.samplePointsByImage = nativeBinding.samplePointsByImage
|
|
596
597
|
module.exports.squareBackfacePointCloudTest = nativeBinding.squareBackfacePointCloudTest
|
|
597
598
|
module.exports.squareHasObjectInFront = nativeBinding.squareHasObjectInFront
|