Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2AABB

Hierarchy

  • b2AABB

Index

Properties

Readonly lowerBound

lowerBound: b2Vec2 = new b2Vec2()

Private Readonly m_cache_center

m_cache_center: b2Vec2 = new b2Vec2()

Private Readonly m_cache_extent

m_cache_extent: b2Vec2 = new b2Vec2()

Readonly upperBound

upperBound: b2Vec2 = new b2Vec2()

Methods

Combine1

  • Parameters

    Returns b2AABB

Combine2

  • Parameters

    Returns b2AABB

Contains

  • Contains(aabb: b2AABB): boolean
  • Parameters

    Returns boolean

Copy

  • Parameters

    Returns b2AABB

GetCenter

  • Returns b2Vec2

GetExtents

  • Returns b2Vec2

GetPerimeter

  • GetPerimeter(): number
  • Returns number

IsValid

  • IsValid(): boolean
  • Returns boolean

RayCast

  • Parameters

    Returns boolean

TestContain

  • TestContain(point: XY): boolean
  • Parameters

    • point: XY

    Returns boolean

TestOverlap

  • TestOverlap(other: b2AABB): boolean
  • Parameters

    Returns boolean

Static Combine

  • Parameters

    Returns b2AABB

Generated using TypeDoc