BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Function computeDistance2D

    • Computes the 2D distance between two points.

      Parameters

      • x1: number

        The x-coordinate of the first point.

      • y1: number

        The y-coordinate of the first point.

      • x2: number

        The x-coordinate of the second point.

      • y2: number

        The y-coordinate of the second point.

      Returns number

      The distance between the points.