build-dxf 0.0.44 → 0.0.46
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/build.d.ts +1 -2
- package/src/build.js +2000 -1449
- package/src/index.css +1 -1
- package/src/index.js +1 -1
- package/src/index3.js +230 -228
- package/src/pages/{Dxf.vue.d.ts → WallView.vue.d.ts} +3 -1
- package/src/selectLocalFile.js +1763 -4638
- package/src/utils/DxfSystem/components/DoorsAnalysis.d.ts +3 -3
- package/src/utils/DxfSystem/components/Dxf.d.ts +4 -4
- package/src/utils/DxfSystem/components/LineAnalysis.d.ts +3 -3
- package/src/utils/DxfSystem/components/ThreeVJia.d.ts +27 -2
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/ClippingLine.d.ts +1 -1
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/CommandFlowComponent.d.ts +2 -2
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/Default.d.ts +1 -1
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/DrawWindow.d.ts +1 -1
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/PointDrag.d.ts +1 -1
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/SelectAll.d.ts +1 -1
- package/src/utils/DxfSystem/plugin/Editor/components/CommandFlow/VerticalCorrection.d.ts +2 -2
- package/src/utils/DxfSystem/plugin/Editor/components/RenderManager.d.ts +2 -2
- package/src/utils/DxfSystem/plugin/RenderPlugin/components/ModelDataRender.d.ts +1 -1
- package/src/utils/DxfSystem/plugin/RenderPlugin/components/Renderer.d.ts +2 -8
- package/src/utils/DxfSystem/type.d.ts +13 -4
- package/src/utils/DxfSystem/utils/AxisAlignCorr.d.ts +1 -1
- package/src/utils/DxfSystem/utils/BoundExt.d.ts +3 -3
- package/src/utils/DxfSystem/utils/DoubleWallHelper.d.ts +19 -0
- package/src/utils/DxfSystem/utils/clippingDoubleWall.d.ts +6 -0
- package/src/utils/DxfSystem/utils/clippingLineUserData.d.ts +7 -0
- package/src/utils/DxfSystem/utils/closedPathArea.d.ts +2 -0
- package/src/utils/DxfSystem/utils/createPointVirtualGrid.d.ts +3 -0
- package/src/utils/DxfSystem/utils/drawHelper.d.ts +4 -4
- package/src/utils/DxfSystem/utils/findClosedPolygons.d.ts +22 -0
- package/src/utils/DxfSystem/utils/findClosedPolygons01.d.ts +27 -0
- package/src/utils/DxfSystem/utils/findDiscretePointLine.d.ts +14 -0
- package/src/utils/DxfSystem/utils/findVerticalReference.d.ts +1 -1
- package/src/utils/DxfSystem/utils/lineDataToOriginalData.d.ts +3 -2
- package/src/utils/DxfSystem/utils/lineSegmentClipping.d.ts +1 -1
- package/src/utils/DxfSystem/utils/mergeLineUserData.d.ts +7 -0
- package/src/utils/DxfSystem/utils/originalDataToLineData.d.ts +1 -1
- package/src/utils/DxfSystem/utils/recomputedWindow.d.ts +1 -1
- package/src/utils/{Quadtree/LineSegment.d.ts → LineSegment.d.ts} +35 -3
- package/src/utils/Map.d.ts +17 -0
- package/src/utils/{Quadtree/Point.d.ts → Point.d.ts} +2 -0
- package/src/utils/PointVirtualGrid/index.d.ts +10 -7
- package/src/utils/{Quadtree/Quadtree.d.ts → Quadtree.d.ts} +2 -2
- package/src/utils/UndirectedGraph.d.ts +28 -0
- package/src/utils/UnionFindSet.d.ts +12 -0
- package/src/utils/cloneUserData.d.ts +7 -0
- package/src/utils/DxfSystem/utils/extractClosedPolygons.d.ts +0 -11
- /package/src/utils/{Quadtree/Box2.d.ts → Box2.d.ts} +0 -0
- /package/src/utils/{Quadtree/Rectangle.d.ts → Rectangle.d.ts} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ArrayMap } from './Map';
|
|
2
|
+
export declare class UnionFindSet {
|
|
3
|
+
private parent;
|
|
4
|
+
private rank;
|
|
5
|
+
constructor(size: number);
|
|
6
|
+
find(x: number): number;
|
|
7
|
+
union(x: number, y: number): void;
|
|
8
|
+
/** 获取所有集合
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
getAllSets(): ArrayMap<number, number>;
|
|
12
|
+
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LineSegment } from '../../Quadtree/LineSegment';
|
|
2
|
-
import { Point } from '../../Quadtree/Point';
|
|
3
|
-
/**
|
|
4
|
-
* 多边形类型:点数组(闭合,最后一点连接第一点)
|
|
5
|
-
*/
|
|
6
|
-
type Polygon = Point[];
|
|
7
|
-
/**
|
|
8
|
-
* 从线段集合中提取所有闭合多边形
|
|
9
|
-
*/
|
|
10
|
-
export declare function extractClosedPolygons(segments: LineSegment[]): Polygon[];
|
|
11
|
-
export {};
|
|
File without changes
|
|
File without changes
|