brepjs API Reference
    Preparing search index...

    Class BoundingBox2d

    Axis-aligned 2D bounding box backed by an OCCT Bnd_Box2d.

    Provides bounds queries, containment tests, and union operations for spatial indexing of 2D geometry.

    Index

    Constructors

    Accessors

    Methods

    • Return a point guaranteed to lie outside the bounding box.

      Parameters

      • paddingPercent: number = 1

        Extra padding as a percentage of the box dimensions.

      Returns Point2D