jakke-graphics-ts
    Preparing search index...

    Type Alias BoundingBox2d

    Represents a 2D bounding box defined by an anchor point, a direction axis, and lengths along two axes.

    type BoundingBox2d = {
        anchor: Vertex2d;
        length: { u: number; v: number };
        uAxis: Vertex2d;
    }
    Index

    Properties

    Properties

    anchor: Vertex2d

    The anchor point (origin) of the bounding box in 2D space.

    length: { u: number; v: number }

    The lengths of the bounding box along the u and v axes.

    uAxis: Vertex2d

    The direction vector representing the primary axis (u) of the bounding box.