jakke-graphics-ts
    Preparing search index...

    Type Alias BoundingBox3d

    Represents a 3D bounding box defined by an anchor point, two axis vectors, and lengths along three axes.

    type BoundingBox3d = {
        anchor: Vertex3d;
        length: { n: number; u: number; v: number };
        uAxis: Vertex3d;
        vAxis: Vertex3d;
    }
    Index

    Properties

    anchor: Vertex3d

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

    length: { n: number; u: number; v: number }

    The lengths of the bounding box along the 'u', 'v', and 'n' (normal) axes.

    uAxis: Vertex3d

    The vector representing the local 'u' axis direction of the bounding box.

    vAxis: Vertex3d

    The vector representing the local 'v' axis direction of the bounding box.