Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2EdgeShape

Hierarchy

Index

Constructors

constructor

Properties

m_hasVertex0

m_hasVertex0: boolean = false

m_hasVertex3

m_hasVertex3: boolean = false

m_radius

m_radius: number = 0

Readonly m_type

m_type: b2ShapeType = b2ShapeType.e_unknown

Readonly m_vertex0

m_vertex0: b2Vec2 = new b2Vec2()

Readonly m_vertex1

m_vertex1: b2Vec2 = new b2Vec2()

Readonly m_vertex2

m_vertex2: b2Vec2 = new b2Vec2()

Readonly m_vertex3

m_vertex3: b2Vec2 = new b2Vec2()

Static Private ComputeAABB_s_v1

ComputeAABB_s_v1: b2Vec2 = new b2Vec2()

Static Private ComputeAABB_s_v2

ComputeAABB_s_v2: b2Vec2 = new b2Vec2()

Static Private ComputeDistance_s_d

ComputeDistance_s_d: b2Vec2 = new b2Vec2()

Static Private ComputeDistance_s_s

ComputeDistance_s_s: b2Vec2 = new b2Vec2()

Static Private ComputeDistance_s_v1

ComputeDistance_s_v1: b2Vec2 = new b2Vec2()

Static Private ComputeDistance_s_v2

ComputeDistance_s_v2: b2Vec2 = new b2Vec2()

Static Private RayCast_s_d

RayCast_s_d: b2Vec2 = new b2Vec2()

Static Private RayCast_s_e

RayCast_s_e: b2Vec2 = new b2Vec2()

Static Private RayCast_s_p1

RayCast_s_p1: b2Vec2 = new b2Vec2()

Static Private RayCast_s_p2

RayCast_s_p2: b2Vec2 = new b2Vec2()

Static Private RayCast_s_q

RayCast_s_q: b2Vec2 = new b2Vec2()

Static Private RayCast_s_r

RayCast_s_r: b2Vec2 = new b2Vec2()

Methods

Clone

  • Returns b2EdgeShape

ComputeAABB

  • Parameters

    Returns void

ComputeDistance

ComputeMass

  • ComputeMass(massData: b2MassData, density: number): void
  • Parameters

    Returns void

ComputeSubmergedArea

Copy

Dump

  • Dump(log: (format: string, ...args: any[]) => void): void
  • Parameters

    • log: (format: string, ...args: any[]) => void
        • (format: string, ...args: any[]): void
        • Parameters

          • format: string
          • Rest ...args: any[]

          Returns void

    Returns void

GetChildCount

  • GetChildCount(): number
  • Returns number

GetType

RayCast

Set

  • Parameters

    Returns b2EdgeShape

SetupDistanceProxy

TestPoint

  • Parameters

    Returns boolean

Generated using TypeDoc