yanchengPowerSupply/node_modules/mxdraw/dist/lib/MxModule/MxDbStarShape/index.d.ts

30 lines
989 B
TypeScript

import McGiWorldDraw from "../McGiWorldDraw";
import MxDbShape from "../MxDbShape";
import drawMxDbStarShape from "./draw";
/** 星形 */
declare class MxDbStarShape extends MxDbShape {
static cmd: string;
static draw: typeof drawMxDbStarShape;
getTypeName(): string;
constructor();
center: import("three").Vector3;
/** 顶点数量 */
numPoints: number;
/** 内部半径 */
innerRadius: number;
/** 外部半径 */
outerRadius: number;
worldDraw(pWorldDraw: McGiWorldDraw): void;
getGripPoints(): THREE.Vector3[];
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
}
export declare class MxDbStarShapeDraw extends MxDbStarShape {
innerPoint: import("three").Vector3;
outerPoint: import("three").Vector3;
constructor();
getGripPoints(): THREE.Vector3[];
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
worldDraw(pWorldDraw: McGiWorldDraw): void;
}
export default MxDbStarShape;