Function PointOutsideMBR

  • 判断点是否在 MBR 外(平面与经纬度坐标通用,多边形边界算作在内) determine if a point is outside of a MBR (polygon boundary is considered inside)

    Parameters

    • point: [number, number]

      [x,y]

    • mbr: MBR

      [minx,miny,maxx,maxy]

    • isPlane: boolean = false

      是否需要转换成平面坐标系再进行判断

    Returns boolean

    • true if the point is outside of the MBR
    • 如果点在 MBR 外,返回 true

Generated using TypeDoc