跳到主要内容

KCircle2d.getTangent() method

获取圆上一点的法向量。 注意:传入点需要确保落在圆上。

Get circle's tangent vector of a point on the circle. NOTE: the caller need to make sure the point is on the circle.

Signature:

getTangent(point: KPoint2d): KVector2d;

Links: getTangent(point: KPoint2d): KVector2d;

Parameters

Parameter

Type

Description

point

KPoint2d

圆上一点。

A point on the circle.

Returns:

KVector2d

切向量。

The tangent vector.