EarthSDK
    正在准备搜索索引...

    函数 calcArrowPoints

    • 计算箭头的多边形顶点

      参数

      • points: ESJVector3D[]

        用户绘制的控制点坐标数组 [lng, lat, alt]

        • points[0]: 起始点
        • points[1] 或 points[points.length-1]: 目标点
      • type: ESJArrowMode

        箭头类型

      • fixedWidth: boolean = false

        是否使用固定宽度模式

      返回 undefined | ESJVector3D[]

      多边形轮廓顶点数组,不足控制点时返回undefined