build-dxf 0.0.20-13 → 0.0.20-15

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.
@@ -3,7 +3,11 @@ import { LineSegment } from '../../../../../Quadtree/LineSegment';
3
3
  import { LineUserData } from '../RenderManager';
4
4
  import { CommandFlowComponent } from './CommandFlowComponent';
5
5
  import * as THREE from "three";
6
- export declare class DrawDoorLine extends CommandFlowComponent<{}> {
6
+ export declare class DrawDoorLine extends CommandFlowComponent<{
7
+ pointerMove: {
8
+ point: THREE.Vector3;
9
+ };
10
+ }> {
7
11
  static name: string;
8
12
  container: THREE.Group<THREE.Object3DEventMap>;
9
13
  interruptKeys: string[];
@@ -3,7 +3,11 @@ import { LineSegment } from '../../../../../Quadtree/LineSegment';
3
3
  import { LineUserData } from '../RenderManager';
4
4
  import { ComponentManager } from '../../../../../ComponentManager';
5
5
  import * as THREE from "three";
6
- export declare class DrawWindow extends CommandFlowComponent<{}> {
6
+ export declare class DrawWindow extends CommandFlowComponent<{
7
+ pointerMove: {
8
+ point: THREE.Vector3;
9
+ };
10
+ }> {
7
11
  static name: string;
8
12
  container: THREE.Group<THREE.Object3DEventMap>;
9
13
  interruptKeys: string[];
@@ -0,0 +1,21 @@
1
+ import { CommandFlowComponent } from './CommandFlowComponent';
2
+ import { ComponentManager } from '../../../../../ComponentManager';
3
+ /**
4
+ * 合并同向线段
5
+ */
6
+ export declare class ViewAngle extends CommandFlowComponent<{}> {
7
+ static name: string;
8
+ shortcutKeys: string[];
9
+ static commandName: string;
10
+ onAddFromParent(parent: ComponentManager): void;
11
+ /**
12
+ * 进入命令约束
13
+ */
14
+ private constraint;
15
+ /**
16
+ *
17
+ * @param next
18
+ * @param selectLines
19
+ */
20
+ private viewAngle;
21
+ }
@@ -12,6 +12,24 @@ export declare class LineSegment<T = Record<string, any>> {
12
12
  get end(): Point<Record<string, any>>;
13
13
  constructor(p1?: Point, p2?: Point);
14
14
  set(p1: Point, p2: Point): void;
15
+ /**
16
+ * 是否有相同端点
17
+ * @param line
18
+ * @returns
19
+ */
20
+ sameEndpoint(line: LineSegment): boolean;
21
+ /**
22
+ * 相同端点是否为开始
23
+ * @param line
24
+ * @returns
25
+ */
26
+ sameEndpointAsStart(line: LineSegment): boolean;
27
+ /**
28
+ * 相同端点是否为结束
29
+ * @param line
30
+ * @returns
31
+ */
32
+ sameEndpointAsEnd(line: LineSegment): boolean;
15
33
  /** 膨胀
16
34
  * @description 向线段的两个端点分别膨胀 width
17
35
  * @param width