开发:更新版本,修复V型刀走刀错误的问题

This commit is contained in:
FishOrBear
2021-05-28 11:34:40 +08:00
parent e19f64a55d
commit 8e481e821c
254 changed files with 7351 additions and 6949 deletions

View File

@@ -1,6 +1,5 @@
import { CatmullRomCurve3, Matrix3, Object3D, Shape, Vector3 } from 'three';
import { CatmullRomCurve3, Matrix3, Vector3 } from 'three';
import { ObjectSnapMode } from '../Editor/ObjectSnapMode';
import { RenderType } from '../GraphicsSystem/RenderType';
import { CADFiler } from './CADFiler';
import { Curve } from './Entity/Curve';
import { Polyline } from './Entity/Polyline';
@@ -8,8 +7,7 @@ export declare class Spline extends Curve {
private _PointList;
private _ClosedMark;
constructor(_PointList?: Vector3[]);
get Shape(): Shape;
get Curve3(): CatmullRomCurve3;
get Shape(): CatmullRomCurve3;
get Length(): number;
get Points(): Vector3[];
set Points(v: Vector3[]);
@@ -27,8 +25,7 @@ export declare class Spline extends Curve {
MoveGripPoints(indexList: Array<number>, vec: Vector3): void;
MoveStretchPoints(indexList: Array<number>, vec: Vector3): void;
GetObjectSnapPoints(snapMode: ObjectSnapMode, pickPoint: Vector3, lastPoint: Vector3, viewXform?: Matrix3): Vector3[];
InitDrawObject(renderType?: RenderType): Object3D;
UpdateDrawObject(type: RenderType, en: Object3D): void;
protected GetDrawCount(): number;
Convert2Polyline(): Polyline;
protected _ReadFile(file: CADFiler): void;
WriteFile(file: CADFiler): void;