Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeasureThreePointAnglePrimitive

Hierarchy

Index

Constructors

constructor

Properties

_viewer

_viewer: Viewer

angle

angle: number

Optional assistLine

assistLine: Polyline

assistModAry

assistModAry: ModCZML[]

Optional assistPt

assistPt: PointPrimitive

endPointColor

endPointColor: Color

point

point: Vector3[]

pointCollection

pointCollection: PointCollection

polylineCollection

polylineCollection: PolylineCollection

tmpModAry

tmpModAry: ModCZML[]

totalLineColor

totalLineColor: Color

viewer

viewer: Viewer

Methods

calcAngle

calculateEnd

  • calculateEnd(angle: number): void
  • Parameters

    • angle: number

    Returns void

choosePoint

  • choosePoint(e: MouseEvent): Promise<void>
  • Parameters

    • e: MouseEvent

    Returns Promise<void>

destroy

  • destroy(): void

destroyPrimitiveCollection

  • destroyPrimitiveCollection(): void

drawBoundingBox

  • drawBoundingBox(box: Box, lineColor?: Color, lineWidth?: number, useDash?: boolean): Polyline

drawLine

drawPoint

  • drawPoint(position: Vector3, pointColor?: Color, pixelSize?: number): PointPrimitive

forceUpdate

  • forceUpdate(): void

init

  • init(): void

onMousemove

  • onMousemove(e: MouseEvent): Promise<void>
  • Parameters

    • e: MouseEvent

    Returns Promise<void>

remove

removeAll

  • removeAll(): void

removeAllPoint

  • removeAllPoint(): void

removeAllPolyline

  • removeAllPolyline(): void

vector3AryToNumAry

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