Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BoundingBox2D

Hierarchy

Index

Constructors

constructor

Properties

maxPoint

maxPoint: undefined | Vec2

minPoint

minPoint: undefined | Vec2

transform

transform: NodeTransform2D

Accessors

center

  • get center(): undefined | Vec2

corners

  • get corners(): Vec2[]

localHeight

  • get localHeight(): number

localWidth

  • get localWidth(): number

Methods

GetBoundaryLinesVertexArray

boundBounds

boundPoint

boundVertexPositionArrray

clone

pointInBounds

  • pointInBounds(p: Vec2, epsilon?: number): boolean

randomPointObjectSpace

  • randomPointObjectSpace(): Vec2

randomTransformedPoint

  • randomTransformedPoint(): Vec2

reset

  • reset(): void

Static FromVec2s

Static FromVertexArray2D

Generated using TypeDoc