Hierarchy

  • Bbox

Constructors

Properties

_geom: any
_oc: any
_ocBbox: any = null
bounds: number[] = null
position: Point

Methods

  • Parameters

    Returns boolean

  • Get area of bbox

    Returns number

  • Get one of the 8 Vertices of the Bbox

    Parameters

    • where: string

    Returns Point

  • Get depth of Bounding Box

    Returns number

  • Gets the Edge seperating depth in two equal halves

    Returns Edge

  • Enlarge by offsetting current Bbox in all direction a given amount. Returns a new Bbox.

    Parameters

    • amount: number

    Returns Bbox

  • Get height of Bounding Box

    Returns number

  • Check if Bounding Box is 2D

    Returns boolean

  • Check if Bounding Box of zero size so a Point

    Returns boolean

  • Set boundaries of Bbox from OC Bbox

    Returns number[]

  • Returns number[]

  • Returns string

  • Update properties (bounds and position) based on _ocBbox

    Returns void

  • Get width of Bounding Box

    Returns number

  • Gets the Edge seperating width in two equal halves

    Returns Edge

Generated using TypeDoc