Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Point

Hierarchy

  • Point

Index

Constructors

constructor

  • new Point(bim365: BIMModel): Point
  • Parameters

    • bim365: BIMModel

    Returns Point

Properties

clusterService

clusterService: PointCluster = null

聚合标签服务类

Methods

addAnchorPointByPosition

  • addAnchorPointByPosition(position: object, imageURL: string, data: any): Viewpoint
  • 添加锚点

    Parameters

    • position: object

      锚点位置

      • x: number
      • y: number
      • z: number
    • imageURL: string

      锚点图片的绝对路径

    • data: any

      附加参数

    Returns Viewpoint

    返回可以做额外操作

clearAllAnchorpoint

  • clearAllAnchorpoint(): void
  • 清除所有锚点

    Returns void

clearAnchorPointById

  • clearAnchorPointById(id: string): void
  • 根据id清除锚点

    Parameters

    • id: string

    Returns void

closeCluster

  • closeCluster(): void
  • 关闭聚合标签

    Returns void

displayAnchorPointById

  • displayAnchorPointById(id: string): void
  • 根据id显示锚点

    Parameters

    • id: string

    Returns void

getAllPoint

  • getAllPoint(): any[]
  • 获取当前全部锚点

    Returns any[]

getClusterData

  • getClusterData(): false | clusterType[]
  • 获取聚合标签数据

    Returns false | clusterType[]

hideAllAnchorpoint

  • hideAllAnchorpoint(): void
  • 隐藏所有锚点

    Returns void

hideAnchorPointById

  • hideAnchorPointById(id: string): void
  • 根据id隐藏锚点

    Parameters

    • id: string

    Returns void

openCluster

  • openCluster(): PointCluster
  • 开启聚合标签

    Returns PointCluster