BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Function computeNearestPointDistance2D

    • Computes the 2D distance from the nearest point.

      Parameters

      • renderer: BaseRenderer

        The renderer instance.

      • snapData: number[]

        The snap data array.

      • x: number

        The x-coordinate.

      • y: number

        The y-coordinate.

      Returns Promise<number>

      The distance from the nearest point.