KNurbsCurve2d.getTangent() method
获得样条曲线上一点处的切向量。 注意:该函数调用需要确保传入点在样条曲线上。
Get tangent vector of a point on the nurbs curve. NOTE: the caller needs to make sure the point is on the nurbs curve.
Signature:
getTangent(point: KPoint2d): KVector2d;
Parameters
Parameter | Type | Description |
---|---|---|
point | 样条曲线上一点。 A point on the nurbs curve. |
Returns:
切向量。
The tangent vector.