TwoVector

TwoVector

A TwoVector is a geometric object which is completely described by two values.

Constructor

new TwoVector(x, y)

Creates an instance of a TwoVector.

Parameters:
Name Type Description
x Number

first value

y Number

second value

Source:

Methods

toString() → {String}

Formatted textual description of the TwoVector.

Source:
Returns:

description

Type
String