gcode-preview - v3.0.0-alpha.3
    Preparing search index...

    Class BoundingBox

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get isValid(): boolean

      Checks if the bounding box has been updated with any points.

      Returns boolean

      True if at least one point has been added, false otherwise.

    Methods

    • Updates the bounding box with the given coordinates.

      Parameters

      • x: number

        The X coordinate.

      • y: number

        The Y coordinate.

      • z: number

        The Z coordinate.

      Returns void