Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GeometricNumber<I, M, S, V, MAGNITUDE, SCALING, UNIT>

This interface is provided to ensure consistency. It is not part of the documented API. Notice that the effect on the target depends upon whether the target class in mutable. I: The lightweight interface form of the concreate class, usually just coordinates. M: The concrete class S: The lightweight interface form of the spinor. V: The lightweight interface form of the vector. MAGNITUDE: The type for methods that compute magnitudes.

Type parameters

  • I

  • M

  • S

  • V

  • MAGNITUDE

  • SCALING

  • UNIT

Hierarchy

Implemented by

Index

Methods

add

  • add(rhs: I, α?: number): M

addScalar

  • addScalar(α: UNIT): M

adj

  • adj(): M

angle

  • angle(): M

conj

  • conj(): M

div

  • div(rhs: I): M

divByScalar

  • divByScalar(α: SCALING): M

exp

  • exp(): M

ext

  • ext(rhs: I): M

grade

  • grade(grade: number): M

inv

  • inv(): M

isOne

  • isOne(): boolean

isScalar

  • isScalar(): boolean

isZero

  • isZero(): boolean

lco

  • lco(rhs: I): M

lerp

  • lerp(target: I, α: number): M

log

  • log(): M

magnitude

  • magnitude(): MAGNITUDE

mul

  • mul(rhs: I): M

neg

  • neg(): M

norm

  • norm(): M

quad

  • quad(): M

rco

  • rco(rhs: I): M

reflect

  • reflect(n: V): M

rev

  • rev(): M

rotate

  • rotate(rotor: S): M

scale

  • scale(α: SCALING): M

scp

  • scp(rhs: I): M

slerp

  • slerp(target: I, α: number): M

squaredNorm

  • squaredNorm(): MAGNITUDE

stress

  • stress(σ: V): M

sub

  • sub(rhs: I, α?: number): M

toExponential

  • toExponential(fractionDigits?: number): string

toFixed

  • toFixed(fractionDigits?: number): string

toPrecision

  • toPrecision(precision?: number): string

toString

  • toString(radix?: number): string