|
|
@ -1,4 +1,4 @@
|
|
|
|
import { BufferGeometry, Face3, Geometry, InstancedInterleavedBuffer, InterleavedBufferAttribute, Line as TLine, LineSegments, MathUtils, Matrix3, Mesh, Object3D, ShapeUtils, Vector2, Vector3 } from "three";
|
|
|
|
import { BufferGeometry, Face3, Geometry, InstancedInterleavedBuffer, InterleavedBufferAttribute, LineSegments, MathUtils, Matrix3, Mesh, Object3D, ShapeUtils, Line as TLine, Vector2, Vector3 } from "three";
|
|
|
|
import { Line2 } from "three/examples/jsm/lines/Line2";
|
|
|
|
import { Line2 } from "three/examples/jsm/lines/Line2";
|
|
|
|
import { LineGeometry } from "three/examples/jsm/lines/LineGeometry";
|
|
|
|
import { LineGeometry } from "three/examples/jsm/lines/LineGeometry";
|
|
|
|
import { HostApplicationServices } from "../../../../ApplicationServices/HostApplicationServices";
|
|
|
|
import { HostApplicationServices } from "../../../../ApplicationServices/HostApplicationServices";
|
|
|
@ -8,7 +8,7 @@ import { ObjectSnapMode } from "../../../../Editor/ObjectSnapMode";
|
|
|
|
import { BufferGeometryUtils } from "../../../../Geometry/BufferGeometryUtils";
|
|
|
|
import { BufferGeometryUtils } from "../../../../Geometry/BufferGeometryUtils";
|
|
|
|
import { SubtractRange, Tape } from "../../../../Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2";
|
|
|
|
import { SubtractRange, Tape } from "../../../../Geometry/ExtrudeMeshGeomBuilder/ExtrudeEdgeGeometry2";
|
|
|
|
import { SplitArcParams, SplitCurvePoints } from "../../../../Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams";
|
|
|
|
import { SplitArcParams, SplitCurvePoints } from "../../../../Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams";
|
|
|
|
import { AsVector2, AsVector3, clampRad, equaln, updateGeometry, ZeroVec } from "../../../../Geometry/GeUtils";
|
|
|
|
import { AsVector2, AsVector3, ZeroVec, clampRad, equaln, updateGeometry } from "../../../../Geometry/GeUtils";
|
|
|
|
import { RenderType } from "../../../../GraphicsSystem/RenderType";
|
|
|
|
import { RenderType } from "../../../../GraphicsSystem/RenderType";
|
|
|
|
import { Factory } from "../../../CADFactory";
|
|
|
|
import { Factory } from "../../../CADFactory";
|
|
|
|
import { CADFiler } from "../../../CADFiler";
|
|
|
|
import { CADFiler } from "../../../CADFiler";
|
|
|
@ -17,7 +17,7 @@ import { Curve } from "../../../Entity/Curve";
|
|
|
|
import { Line } from "../../../Entity/Line";
|
|
|
|
import { Line } from "../../../Entity/Line";
|
|
|
|
import { Polyline } from "../../../Entity/Polyline";
|
|
|
|
import { Polyline } from "../../../Entity/Polyline";
|
|
|
|
import { GetArcParam, GetLineParam } from "../../ParseService/GetCurveParam";
|
|
|
|
import { GetArcParam, GetLineParam } from "../../ParseService/GetCurveParam";
|
|
|
|
import { applyMixins, CURVE_FACE_TYPE_KEY, CURVE_MESH_NAMES, RoomWallBase, WallFaceType } from "./RoomWallBase";
|
|
|
|
import { CURVE_FACE_TYPE_KEY, CURVE_MESH_NAMES, RoomWallBase, WallFaceType, applyMixins } from "./RoomWallBase";
|
|
|
|
import { WallSnapMode } from "./WallSnapMode";
|
|
|
|
import { WallSnapMode } from "./WallSnapMode";
|
|
|
|
|
|
|
|
|
|
|
|
@Factory
|
|
|
|
@Factory
|
|
|
@ -143,6 +143,11 @@ export class RoomWallArc extends RoomWallBase
|
|
|
|
this._MeshGeometry = undefined;
|
|
|
|
this._MeshGeometry = undefined;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ClearDraw(): this
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
this.UpdateDrawGeometry();
|
|
|
|
|
|
|
|
return super.ClearDraw();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private _EdgeGeometry: BufferGeometry;
|
|
|
|
private _EdgeGeometry: BufferGeometry;
|
|
|
|
private _MeshGeometry: Geometry;
|
|
|
|
private _MeshGeometry: Geometry;
|
|
|
|