non-gon
    Preparing search index...

    Function SideVerification

    • Performs a side verification check between two cylinders to determine if they intersect. This method evaluates the geometric relationship between the sides of the cylinders using a quartic equation and rectangle intersection logic.

      Parameters

      • f: number

        A geometric parameter related to the orientation of the cylinder.

      • g: number

        A cosine-based parameter derived from the angle between the cylinders.

      • h: number

        An offset parameter along the axis used in the side projection.

      • u: number

        A parameter vector component used in geometric calculations.

      • w: number

        Another vector parameter used in geometric calculations.

      • a: number

        A geometric parameter related to the cylinder axis.

      • r1: number

        Radius of the first cylinder.

      • r2: number

        Radius of the second cylinder.

      • cylinder1: Cylinder

        The first cylinder object.

      • cylinder2: Cylinder

        The second cylinder object.

      • s1: number

        Half-height of the first cylinder.

      • s2: number

        Half-height of the second cylinder.

      • commonNormal: Vector3

        The vector representing the shortest path between the axes of the cylinders.

      Returns boolean

      True if the sides of the cylinders intersect; otherwise, false.