31 lines
		
	
	
		
			847 B
		
	
	
	
		
			TypeScript
		
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			847 B
		
	
	
	
		
			TypeScript
		
	
	
	
| /** @module McGeTool */
 | |
| import MxDrawObject from '../MxDrawObject';
 | |
| /**
 | |
|  * MrxDbgUtils
 | |
|  * 当常用的工具类.
 | |
|  * @example ```typescript
 | |
|  * ```
 | |
|  */
 | |
| declare class MrxDbgUtilsClass {
 | |
|     private imp;
 | |
|     private initImp;
 | |
|     /**
 | |
|      * 查找某个位置的对象.
 | |
|      * @param pt 查找位置
 | |
|      * @return 返回找到的对象id数组.
 | |
|      * @example
 | |
|      * ```
 | |
|      */
 | |
|     findEntAtPoint(pt: THREE.Vector3, filter?: any, mxObj?: MxDrawObject, isDocCoord?: boolean, retWordDrawXDataCall?: (id: number, data: any) => void): Promise<number[]>;
 | |
|     /**
 | |
|      * 交互选择对象.
 | |
|      * @param strPrompt 提示字符串
 | |
|      * @return 返回找到的对象id数组.
 | |
|      * @example
 | |
|      * ```
 | |
|      */
 | |
|     selectEnt(strPrompt?: string, filter?: any): Promise<number[]>;
 | |
| }
 | |
| declare const MrxDbgUtils: MrxDbgUtilsClass;
 | |
| export default MrxDbgUtils;
 |