跳到主要内容

KVector2d.added() method

两向量相加。

Return a new KVector3d which is this vector add the input vector.

Signature:

added(other: KVector2d): KVector2d;

Links: added(other: KVector2d): KVector2d;

Parameters

Parameter

Type

Description

other

KVector2d

被加的另一个向量。

The vector to add.

Returns:

KVector2d

两向量的和。

The new vector.