rm-gxf-computing-rusts 0.0.22 → 0.0.24
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 +11 -41
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/src/index.d.ts
CHANGED
|
@@ -9,13 +9,6 @@ export interface CheckLineSideVisibilityOption {
|
|
|
9
9
|
trajectorys: Record<string, Vector3F64>
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export interface CheckLineSideVisibilityOption {
|
|
13
|
-
view?: boolean
|
|
14
|
-
pcdDir: string
|
|
15
|
-
lines: Array<Line>
|
|
16
|
-
trajectorys: Record<string, Vector3F64>
|
|
17
|
-
}
|
|
18
|
-
|
|
19
12
|
export interface CheckResult {
|
|
20
13
|
originalVertices: Array<Square>
|
|
21
14
|
allCenterPoints: Array<Point>
|
|
@@ -36,15 +29,6 @@ export interface Index {
|
|
|
36
29
|
index: number
|
|
37
30
|
}
|
|
38
31
|
|
|
39
|
-
export interface Index {
|
|
40
|
-
index: number
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface Line {
|
|
44
|
-
start: Vector3F64
|
|
45
|
-
end: Vector3F64
|
|
46
|
-
}
|
|
47
|
-
|
|
48
32
|
export interface Line {
|
|
49
33
|
start: Vector3F64
|
|
50
34
|
end: Vector3F64
|
|
@@ -69,22 +53,6 @@ export interface ParseLineResult {
|
|
|
69
53
|
intersectionSegments: Array<Array<Index>>
|
|
70
54
|
}
|
|
71
55
|
|
|
72
|
-
export interface ParseLineResult {
|
|
73
|
-
start?: Vector3F64
|
|
74
|
-
end?: Vector3F64
|
|
75
|
-
missingCheckResults: Array<Quads>
|
|
76
|
-
existSegments: Array<Quads>
|
|
77
|
-
intersectionSegments: Array<Array<Index>>
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export interface PcBackfaceTestOptions {
|
|
81
|
-
view?: boolean
|
|
82
|
-
pcdDir: string
|
|
83
|
-
lines: LineDataList
|
|
84
|
-
trajectorys: Record<string, Trajectory>
|
|
85
|
-
distProjection: boolean
|
|
86
|
-
}
|
|
87
|
-
|
|
88
56
|
export interface PcBackfaceTestOptions {
|
|
89
57
|
view?: boolean
|
|
90
58
|
pcdDir: string
|
|
@@ -116,12 +84,19 @@ export interface Quads {
|
|
|
116
84
|
allCenterPoints: Array<Vector3F64>
|
|
117
85
|
}
|
|
118
86
|
|
|
119
|
-
export interface
|
|
120
|
-
|
|
121
|
-
|
|
87
|
+
export interface Results {
|
|
88
|
+
results: Array<Array<Array<number>>>
|
|
89
|
+
positions: Array<Vector3F64>
|
|
90
|
+
objIds: Array<Array<string>>
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface Results {
|
|
94
|
+
results: Array<Array<Array<number>>>
|
|
95
|
+
positions: Array<Vector3F64>
|
|
96
|
+
objIds: Array<Array<string>>
|
|
122
97
|
}
|
|
123
98
|
|
|
124
|
-
export declare function samplePointsByImage(option: SamplePointsByImageOption):
|
|
99
|
+
export declare function samplePointsByImage(option: SamplePointsByImageOption): Results
|
|
125
100
|
|
|
126
101
|
export interface SamplePointsByImageOption {
|
|
127
102
|
view?: boolean
|
|
@@ -176,11 +151,6 @@ export interface SquareBackfaceTestOptions {
|
|
|
176
151
|
lines: Array<ParseLineResult>
|
|
177
152
|
}
|
|
178
153
|
|
|
179
|
-
export interface SquareBackfaceTestOptions {
|
|
180
|
-
view?: boolean
|
|
181
|
-
lines: Array<ParseLineResult>
|
|
182
|
-
}
|
|
183
|
-
|
|
184
154
|
export interface Trajectory {
|
|
185
155
|
x: number
|
|
186
156
|
y: number
|