跳到主要内容

KPolylineCurve3d.getTangent() method

获得折线段上一点处的切向量。 注意:该函数调用需要确保传入点在折线段上。

Get tangent vector of a point on the polyline. NOTE: the caller needs to make sure the point is on the polyline.

Signature:

getTangent(point: KPoint3d): KVector3d;

Links: getTangent(point: KPoint3d): KVector3d;

Parameters

Parameter

Type

Description

point

KPoint3d

折线段上一点。

A point on the polyline.

Returns:

KVector3d

切向量。

The tangent vector.