rm-gxf-computing-rusts 0.0.19 → 0.0.20

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.19",
3
+ "version": "0.0.20",
4
4
  "description": "",
5
5
  "author": "初秋",
6
6
  "type": "commonjs",
Binary file
package/src/index.d.ts CHANGED
@@ -99,8 +99,32 @@ export interface PcObjectEcognizerOption {
99
99
  version?: string
100
100
  }
101
101
 
102
+ export interface PcObjectEcognizerOption20 {
103
+ view?: boolean
104
+ pcdUrl: string
105
+ pcdChunk?: boolean
106
+ imageUrls: Array<string>
107
+ groundZ: number
108
+ version?: string
109
+ clusterFilter?: boolean
110
+ distanceThreshold?: number
111
+ }
112
+
113
+ export interface PcObjectEcognizerOption20 {
114
+ view?: boolean
115
+ pcdUrl: string
116
+ pcdChunk?: boolean
117
+ imageUrls: Array<string>
118
+ groundZ: number
119
+ version?: string
120
+ clusterFilter?: boolean
121
+ distanceThreshold?: number
122
+ }
123
+
102
124
  export declare function pointCloudObjectEcognizer(option: PcObjectEcognizerOption): Array<Array<Array<number>>>
103
125
 
126
+ export declare function pointCloudObjectEcognizer20(option: PcObjectEcognizerOption20): Array<Array<Array<number>>>
127
+
104
128
  export interface Quads {
105
129
  originalVertices: Array<Array<Vector3F64>>
106
130
  allCenterPoints: Array<Vector3F64>
package/src/index.js CHANGED
@@ -589,5 +589,6 @@ if (!nativeBinding) {
589
589
  module.exports = nativeBinding
590
590
  module.exports.checkLineSideVisibility = nativeBinding.checkLineSideVisibility
591
591
  module.exports.pointCloudObjectEcognizer = nativeBinding.pointCloudObjectEcognizer
592
+ module.exports.pointCloudObjectEcognizer20 = nativeBinding.pointCloudObjectEcognizer20
592
593
  module.exports.squareBackfacePointCloudTest = nativeBinding.squareBackfacePointCloudTest
593
594
  module.exports.squareBackfaceSquareTest = nativeBinding.squareBackfaceSquareTest
package/src/main.js CHANGED
@@ -171,11 +171,11 @@ function pointCloudObjectEcognizer(params) {
171
171
 
172
172
  /**
173
173
  *
174
- * @param {import("./index").PcObjectEcognizerOption} params
174
+ * @param {import("./index").PcObjectEcognizerOption20} params
175
175
  * @returns
176
176
  */
177
177
  function pointCloudObjectEcognizer2_0(params) {
178
- return gxf.pointCloudObjectEcognizer2_0(params)
178
+ return gxf.pointCloudObjectEcognizer20(params)
179
179
  }
180
180
 
181
181
  module.exports.checkLineSideVisibility = checkLineSideVisibility