BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Function computePointDistance2D

    • Computes the 2D distance from a 3D point.

      Parameters

      • renderer: BaseRenderer

        The renderer instance.

      • pointData3D: number[]

        The 3D point data array.

      • x: number

        The x-coordinate.

      • y: number

        The y-coordinate.

      Returns Promise<number>

      The distance from the 3D point.