rm-graphical-computing 1.0.57 → 1.0.60
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/README.md +10 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +4928 -4662
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,16 @@ processData(
|
|
|
38
38
|
| `matches` | `WindowWallMatch[]` | 窗户匹配详情列表 |
|
|
39
39
|
| `sourceMap` | `number[][]` | 每条输出线段对应的原始线段索引 |
|
|
40
40
|
|
|
41
|
+
**物体数组修改:**
|
|
42
|
+
|
|
43
|
+
`processData` 会直接修改传入的 `objects` 数组,为窗户添加匹配状态标记:
|
|
44
|
+
|
|
45
|
+
| 场景 | 标记 | 说明 |
|
|
46
|
+
|------|------|------|
|
|
47
|
+
| 匹配成功 | 无 `AbnormalWindow` 属性 | 或删除已存在的标记 |
|
|
48
|
+
| 未匹配 | `AbnormalWindow: true` | 未找到合适墙线段的窗户 |
|
|
49
|
+
| 飘窗 | 跳过不处理 | `isBayWindowObj: true` 的窗户不参与匹配 |
|
|
50
|
+
|
|
41
51
|
#### findWindowWalls
|
|
42
52
|
|
|
43
53
|
窗户匹配核心函数。
|