traviso.js - v0.1.12
    Preparing search index...

    Function isInPolygon

    • Checks if the given point is inside the polygon defined by the vertices.

      Parameters

      • gp: TPositionPair

        {TPositionPair} point to check

      • vertices: number[][]

        {Array(Array(Number))} array containing the vertices of the polygon

      Returns boolean

      if the point is inside the polygon

      TRAVISO

      TRAVISO