跳到主要内容

KPoint2d.added() method

对当前点应用一向量,实现对点的平移。

Return a new KPoint3d which is this point add the input vector.

Signature:

added(vec: KVector2d): KPoint2d;

Links: added(vec: KVector2d): KPoint2d;

Parameters

Parameter

Type

Description

vec

KVector2d

Returns:

KPoint2d

新的点。

The new point.