跳到主要内容

KPoint2d.subtracted() method

获得由目标点指向当前点的向量。

Return a new KVector3d which is this point subtract another point.

Signature:

subtracted(point: KPoint2d): KVector2d;

Links: subtracted(point: KPoint2d): KVector2d;

Parameters

Parameter

Type

Description

point

KPoint2d

要减的点。

The point to subtract.

Returns:

KVector2d

新的向量。

The new vector.