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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-gxf-computing-rusts",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "description": "",
5
5
  "author": "初秋",
6
6
  "type": "commonjs",
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
package/src/main.js CHANGED
@@ -46,8 +46,7 @@ function validateCheckResult(result) {
46
46
  }
47
47
  }
48
48
 
49
- /**
50
- *
49
+ /** 线段可见性方向检测
51
50
  * @param {import("./index").CheckLineSideVisibilityOption} params
52
51
  * @returns
53
52
  */