Options
All
  • Public
  • Public/Protected
  • All
Menu

Class G1

Hierarchy

  • G1

Implements

Index

Constructors

constructor

  • new G1(α: number, β: number, uom?: Unit): G1

Properties

Private _x

_x: number

uom

uom: Unit

Private w

w: number

Accessors

a

  • get a(): number
  • set a(alpha: number): void

coords

  • get coords(): number[]

x

  • get x(): number
  • set x(unused: number): void

Methods

add

addScalar

adj

  • adj(): G1

angle

  • angle(): G1

conj

  • conj(): G1

copy

cos

  • cos(): G1

cosh

  • cosh(): G1

difference

direction

  • direction(): G1

div

divByScalar

  • divByScalar(α: number): G1

exp

  • exp(): G1

ext

grade

  • grade(grade: number): G1

inv

  • inv(): G1

isOne

  • isOne(): boolean

isScalar

  • isScalar(): boolean

isZero

  • isZero(): boolean

lco

lerp

  • lerp(target: G1, α: number): G1

log

  • log(): G1

magnitude

  • magnitude(): G1

mul

neg

  • neg(): G1

norm

  • norm(): G1

pow

  • pow(exponent: G1): G1

quad

  • quad(): G1

rco

reflect

rev

  • rev(): G1

rotate

scale

  • scale(α: number): G1

scp

sin

  • sin(): G1

sinh

  • sinh(): G1

slerp

  • slerp(target: G1, α: number): G1

squaredNorm

  • squaredNorm(): G1

stress

sub

toExponential

  • toExponential(fractionDigits?: number): string

toFixed

  • toFixed(fractionDigits?: number): string

toPrecision

  • toPrecision(precision?: number): string

toString

  • toString(radix?: number): string