search

Class myphysicslab.lab.util.Vector

Provided By
All Implemented Interfaces

An immutable vector in 3D space; after creation it cannot be altered.

new Vector( x, y, opt_z )

Parameters
xnumber

the X value of the Vector

ynumber

the Y value of the Vector

opt_z(number|undefined)

the Z value of the Vector (optional, zero is default value)

Instance Methods

Static Functions

Static Properties