Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeasureThreePointAngleSVG

Hierarchy

  • MeasureThreePointAngleSVG

Index

Constructors

constructor

Properties

angle

angle: number

Optional assistRuntimeLine

assistRuntimeLine: Line

currentResult

currentResult: MeasureAngleResult

dashLineStyle

dashLineStyle: string

inputMap

inputMap: InputMap

isLoop

isLoop: boolean

lineAry

lineAry: Line[]

lineColor

lineColor: string

lineWidth

lineWidth: number

pointAry

pointAry: Vector3[]

pointColor

pointColor: string

precision

precision: number

resultAry

resultAry: MeasureAngleResult[]

svgPointAry

svgPointAry: Circle[]

viewer

viewer: Viewer

Methods

calcAngle

  • 计算三点形成的夹角度数

    Parameters

    Returns number

    三点形成的度数

calculateEnd

  • 定制化绘制测量样式

    Parameters

    Returns void

choosePoint

deleteAllResult

  • deleteAllResult(): void
  • 删除所有的测量数据

    Returns void

deleteFromResultAry

  • 删除当前选中的测量数据

    Parameters

    Returns void

destroy

  • destroy(): void
  • 销毁测量

    Returns void

destroyAssist

  • destroyAssist(): void
  • 销毁辅助线

    Returns void

destroyResult

disableSnap

  • disableSnap(): void
  • 关闭捕捉点

    Returns void

drawFromPointAry

enableSnap

  • enableSnap(): void
  • 开启捕捉点

    Returns void

endDraw

  • endDraw(): void
  • 结束绘制

    Returns void

getCurrentResult

getResultAry

getSnapPoint

  • getSnapPoint(): undefined | Vector3
  • 获取捕捉点

    Returns undefined | Vector3

init

  • init(): void
  • 开始测量

    Returns void

onMousemove

updatePrecision

  • updatePrecision(precision: number): void
  • 更新精度

    Parameters

    • precision: number

      精度

    Returns void

vector3AryToNumAry

  • vector3AryToNumAry(vec3Ary: Vector3[]): number[]
  • Parameters

    Returns number[]