rm-gxf-computing-rusts 0.0.29 → 0.0.31
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 +4 -51
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/src/index.d.ts
CHANGED
|
@@ -22,12 +22,6 @@ export interface CheckResult {
|
|
|
22
22
|
offsets?: Array<number>
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export interface CheckResult {
|
|
26
|
-
originalVertices: Array<Square>
|
|
27
|
-
allCenterPoints: Array<Point>
|
|
28
|
-
offsets?: Array<number>
|
|
29
|
-
}
|
|
30
|
-
|
|
31
25
|
export interface DepthFilter {
|
|
32
26
|
searchRadius: number
|
|
33
27
|
depthThreshold: number
|
|
@@ -76,22 +70,6 @@ export interface Line {
|
|
|
76
70
|
end: Vector3F64
|
|
77
71
|
}
|
|
78
72
|
|
|
79
|
-
export interface Line {
|
|
80
|
-
start: Vector3F64
|
|
81
|
-
end: Vector3F64
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export interface Line {
|
|
85
|
-
start: Vector3F64
|
|
86
|
-
end: Vector3F64
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export interface LineData {
|
|
90
|
-
start: Vector3F64
|
|
91
|
-
end: Vector3F64
|
|
92
|
-
checkResults: Array<CheckResult>
|
|
93
|
-
}
|
|
94
|
-
|
|
95
73
|
export interface LineData {
|
|
96
74
|
start: Vector3F64
|
|
97
75
|
end: Vector3F64
|
|
@@ -122,14 +100,6 @@ export interface PcBackfaceTestOptions {
|
|
|
122
100
|
distProjection: boolean
|
|
123
101
|
}
|
|
124
102
|
|
|
125
|
-
export interface PcBackfaceTestOptions {
|
|
126
|
-
view?: boolean
|
|
127
|
-
pcdDir: string
|
|
128
|
-
lines: LineDataList
|
|
129
|
-
trajectorys: Record<string, Trajectory>
|
|
130
|
-
distProjection: boolean
|
|
131
|
-
}
|
|
132
|
-
|
|
133
103
|
export interface Quads {
|
|
134
104
|
originalVertices: Array<Array<Vector3F64>>
|
|
135
105
|
allCenterPoints: Array<Vector3F64>
|
|
@@ -208,6 +178,10 @@ export interface SamplePointsByImageOption {
|
|
|
208
178
|
depthFilter?: DepthFilter
|
|
209
179
|
/** 过滤类型列表 */
|
|
210
180
|
excludeCategoryList?: Array<string>
|
|
181
|
+
/** 形状使用轮廓 */
|
|
182
|
+
contourMode?: boolean
|
|
183
|
+
/** 边缘腐蚀大小 */
|
|
184
|
+
edgeCorrosionSize?: number
|
|
211
185
|
}
|
|
212
186
|
|
|
213
187
|
export interface SamplePointsByImageOption {
|
|
@@ -230,10 +204,6 @@ export interface SamplePointsByImageOption {
|
|
|
230
204
|
depthFilter?: DepthFilter
|
|
231
205
|
/** 过滤类型列表 */
|
|
232
206
|
excludeCategoryList?: Array<string>
|
|
233
|
-
/** 形状使用轮廓 */
|
|
234
|
-
contourMode?: boolean
|
|
235
|
-
/** 边缘腐蚀大小 */
|
|
236
|
-
edgeCorrosionSize?: number
|
|
237
207
|
}
|
|
238
208
|
|
|
239
209
|
export interface SamplePointsByImageOption {
|
|
@@ -276,23 +246,6 @@ export interface Trajectory {
|
|
|
276
246
|
qw: number
|
|
277
247
|
}
|
|
278
248
|
|
|
279
|
-
export interface Trajectory {
|
|
280
|
-
x: number
|
|
281
|
-
y: number
|
|
282
|
-
z: number
|
|
283
|
-
qx: number
|
|
284
|
-
qy: number
|
|
285
|
-
qz: number
|
|
286
|
-
qw: number
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/** 三维向量,包含 x、y、z 分量 */
|
|
290
|
-
export interface Vector3F64 {
|
|
291
|
-
x: number
|
|
292
|
-
y: number
|
|
293
|
-
z: number
|
|
294
|
-
}
|
|
295
|
-
|
|
296
249
|
/** 三维向量,包含 x、y、z 分量 */
|
|
297
250
|
export interface Vector3F64 {
|
|
298
251
|
x: number
|