gis-tools-ts - v0.6.0
    Preparing search index...

    Function orient2dfastVector

    • Parameters

      • a: VectorPoint

        first point

      • b: VectorPoint

        second point

      • c: VectorPoint

        comparison point

      Returns number

      • a positive value if the points a, b, and c occur in counterclockwise order (c lies to the left of the directed line defined by points a and b).
      • Returns a negative value if they occur in clockwise order (c lies to the right of the directed line ab).
      • Returns zero if they are collinear.