BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Function computePointDistances

    • Computes the 2D and 3D distances 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[]>

      An array containing the 2D and 3D distances.