Interface IPoint

Index

Methods

Methods

public add(that: IPoint): IPoint

Parameters

Returns

IPoint

public addEquals(that: IPoint): IPoint

Parameters

Returns

IPoint

public distanceFrom(that: IPoint): any

Parameters

Returns

any

public divide(scalar: number): any

Parameters

  • scalar: number

Returns

any

public divideEquals(scalar: number): any

Parameters

  • scalar: number

Returns

any

public eq(that: IPoint): any

Parameters

Returns

any

public gt(that: IPoint): any

Parameters

Returns

any

public gte(that: IPoint): any

Parameters

Returns

any

public init(x: any, y: any): any

Parameters

  • x: any
  • y: any

Returns

any

public lerp(that: IPoint, t: any): any

Parameters

Returns

any

public lt(that: IPoint): any

Parameters

Returns

any

public lte(that: IPoint): any

Parameters

Returns

any

public max(that: IPoint): any

Parameters

Returns

any

public min(that: IPoint): any

Parameters

Returns

any

public multiply(scalar: any): any

Parameters

  • scalar: any

Returns

any

public multiplyEquals(scalar: any): any

Parameters

  • scalar: any

Returns

any

public scalarAdd(scalar: any): IPoint

Parameters

  • scalar: any

Returns

IPoint

public scalarAddEquals(scalar: number, thisArg: IPoint): any

Parameters

  • scalar: number
  • thisArg: IPoint

Returns

any

public scalarSubtract(scalar: number): any

Parameters

  • scalar: number

Returns

any

public scalarSubtractEquals(scalar: any): any

Parameters

  • scalar: any

Returns

any

public setFromPoint(that: IPoint): any

Parameters

Returns

any

public setXY(x: any, y: any): any

Parameters

  • x: any
  • y: any

Returns

any

public subtract(that: IPoint): IPoint

Parameters

Returns

IPoint

public subtractEquals(that: IPoint): IPoint

Parameters

Returns

IPoint

public swap(that: IPoint): any

Parameters

Returns

any

public tostring(): string

Returns

string