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

20 lines
613 B
TypeScript

import McGiWorldDraw from "../McGiWorldDraw";
import MxDbShape from "../MxDbShape";
/** 等边多边形 */
declare class MxDbRegularPolygonShape extends MxDbShape {
center: import("three").Vector3;
sidesNumber: number;
radius: number;
getTypeName(): string;
constructor();
worldDraw(pWorldDraw: McGiWorldDraw): void;
_drawPolygonShape(pWorldDraw: McGiWorldDraw): void;
_getPoints(): {
x: number;
y: number;
}[];
getGripPoints(): THREE.Vector3[];
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
}
export default MxDbRegularPolygonShape;