Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

pointCollection

pointCollection: PointCollection

polylineCollection

polylineCollection: PolylineCollection

viewer

viewer: Viewer

Methods

destroy

  • destroy(): void
  • Returns void

destroyPrimitiveCollection

  • destroyPrimitiveCollection(): void
  • Returns void

drawBoundingBox

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

    • box: Box
    • Optional lineColor: Color
    • Optional lineWidth: number
    • Optional useDash: boolean

    Returns Polyline

drawLine

  • Parameters

    • vec3: Vector3[]
    • Optional lineColor: Color
    • Optional lineWidth: number
    • Optional useDash: boolean
    • Optional cesiumMaterial: CesiumMaterial

    Returns Polyline

drawPoint

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

    • position: Vector3
    • Optional pointColor: Color
    • Optional pixelSize: number

    Returns PointPrimitive

forceUpdate

  • forceUpdate(): void
  • Returns void

init

  • init(): void
  • Returns void

remove

removeAll

  • removeAll(): void
  • Returns void

removeAllPoint

  • removeAllPoint(): void
  • Returns void

removeAllPolyline

  • removeAllPolyline(): void
  • Returns void

vector3AryToNumAry

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

    Returns number[]