BimCT SDK / WebGL2 Viewer
    Preparing search index...

    Function computeLinePlaneIntersection

    • Computes the intersection point of a line and a plane.

      Parameters

      • planePoint: number[]

        A point on the plane.

      • planeNormal: number[]

        The normal vector of the plane.

      • linePoint1: number[]

        The first point of the line.

      • linePoint2: number[]

        The second point of the line.

      • resultPoint: number[]

        The output array to store the intersection point.

      Returns boolean

      True if the line intersects the plane, false otherwise.