Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MrxDbgUiPrInt

MrxDbgUiPrInt 交互输入一个整数

example
 new Mx.MrxDbgUiPrInt()

Hierarchy

Index

Constructors

Properties

imp: any

Methods

  • clearLastInputPoint(): void
  • disableAllTrace(isDisable?: boolean): void
  • drawReserve(callAddEntity?: ((ent: Object3D) => void)): void
  • 把动态绘制的对象,保留到图上。

    Parameters

    • Optional callAddEntity: ((ent: Object3D) => void)

      回调参数ent 类型:THREE.THREE.Object3D

        • (ent: Object3D): void
        • Parameters

          • ent: Object3D

          Returns void

    Returns void

    点对象 DWG图纸坐标

  • getInputToucheType(): number
  • isDisableDynInput(): boolean
  • isDisableDynamicTrace(): boolean
  • isDisableGridTrace(): boolean
  • isDisableOrthoTrace(): boolean
  • isDisableOsnap(): boolean
  • isDisablePolarAxisTrace(): boolean
  • isKeyWordPicked(matchKeyWord: string): boolean
  • 测试某一个关键字是否被用户选择

    Parameters

    • matchKeyWord: string

      要检测的关键字

    Returns boolean

    true为真

  • keyWordPicked(): string
  • keyWords(): string
  • message(): string
  • setDisableDynInput(isDisable: boolean): void
  • setDisableDynamicTrace(isDisable: boolean): void
  • setDisableGridTrace(isDisable: boolean): void
  • setDisableOrthoTrace(isDisable: boolean): void
  • setDisableOsnap(isDisable: boolean): void
  • setDisablePolarAxisTrace(isDisable: boolean): void
  • setInputToucheType(toucheType: number): void
  • 设置需要的Touche输入类型,默认值是 {@link MxType.InputToucheType.kGetBegan}

    Parameters

    • toucheType: number

    Returns void

  • setKeyWords(keyWordList: string): void
  • 设置关键字列表

    Parameters

    • keyWordList: string

      关键词列表

    Returns void

    void

  • setLastInputPoint(pt: undefined | Vector3): void
  • setMessage(message: string): void
  • 设置提示字符串

    Parameters

    • message: string

      提示消息

    Returns void

    提示消息

  • setUserInputControls(contros: number): void
  • userInputControls(): number
  • value(): number
  • 得以获取的距离

    Returns number