Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Projection

A 1 dimensional projection on an axis, used to test overlaps

Hierarchy

  • Projection

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Projection(min: number, max: number): Projection
  • Parameters

    • min: number
    • max: number

    Returns Projection

Properties

max

max: number

min

min: number

Methods

getOverlap

  • Parameters

    Returns number

overlaps

  • Parameters

    Returns boolean