Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VectorBase

Base class of vector.

Hierarchy

Index

Properties

rawElements

rawElements: IArray

Actual array represents components of this instance.

Accessors

ElementCount

  • get ElementCount(): number
  • Element count of this instance. This is for override.

    Returns number

    [description]

magnitude

  • get magnitude(): number

sqrMagnitude

  • get sqrMagnitude(): number
  • Get squred length of this elements.

    Returns number

Methods

Static Protected ___elementEquals

Static Protected ___fromGenerationFunction

  • ___fromGenerationFunction<T>(v1: T, v2: T, gen: function): IArray
  • Type parameters

    Parameters

    • v1: T
    • v2: T
    • gen: function
        • (i: number, v1: T, v2: T): number
        • Parameters

          • i: number
          • v1: T
          • v2: T

          Returns number

    Returns IArray

Static Protected ___nearlyElementEquals

Static Protected ___parse

Generated using TypeDoc