23 lines
704 B
TypeScript
23 lines
704 B
TypeScript
import McGiWorldDraw from "../McGiWorldDraw";
|
|
import MxDbShape from "../MxDbShape";
|
|
/** 线形状 */
|
|
declare class MxDbLineShape extends MxDbShape {
|
|
points: THREE.Vector3[];
|
|
setPoints(points: THREE.Vector3[]): this;
|
|
addPoint(point: THREE.Vector3): this;
|
|
removePoint(index: number): this;
|
|
constructor();
|
|
getTypeName(): string;
|
|
worldDraw(pWorldDraw: McGiWorldDraw): void;
|
|
getGripPoints(): Array<THREE.Vector3>;
|
|
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
|
|
/** 获取包围盒 */
|
|
getGeomExtents(): THREE.Box3 | null;
|
|
/**
|
|
* 返回曲线长度.
|
|
* @returns number
|
|
*/
|
|
getGetLength(): number;
|
|
}
|
|
export default MxDbLineShape;
|