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

    函数 booleanPointInPolygon

    • 判断点是否在多边形内

      参数

      • positions: ESJVector2DArray

        多边形坐标数组,类型为 ESJVector2DArray。

      • point: ESJVector2D

        待判断的点坐标,类型为 ESJVector2D。

      返回 boolean

      如果点在多边形内返回 true,否则返回 false。