BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Function computeMidPointDistance2D

    • Computes the 2D distance from a midpoint.

      Parameters

      • renderer: BaseRenderer

        The renderer instance.

      • midPointData: number[]

        The midpoint data array.

      • x: number

        The x-coordinate.

      • y: number

        The y-coordinate.

      Returns Promise<number>

      The distance from the midpoint.