@equinor/videx-3d
    Preparing search index...

    Function edgeOfRectangle

    • Given a 2D rectangle and an angle off the center, find the point of the closest corner. Used for anchoring connector lines to annotation labels.

      Parameters

      • rect: Vec2
      • theta: number

      Returns Vec2