BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Function computeMidPointData

    • Computes the midpoint data between two points.

      Parameters

      • posX: number

        The x-coordinate of the position.

      • posY: number

        The y-coordinate of the position.

      • posZ: number

        The z-coordinate of the position.

      • snapData: number[]

        The snap data array.

      • midPointData: number[]

        The output array to store the midpoint data.

      Returns boolean

      True if the computation is successful, false otherwise.