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

    Class BoundingBox

    Index
    • get isValid(): boolean

      Checks if the bounding box has been updated with at least one finite point.

      Returns boolean

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

    • Updates the bounding box with the given coordinates. Points with any non-finite coordinate (NaN or Infinity) are ignored.

      Parameters

      • x: number

        The X coordinate.

      • y: number

        The Y coordinate.

      • z: number

        The Z coordinate.

      Returns void