跳到主要内容

KSurface.getUVPoint() method

通过面的UV参数坐标系将三维点转换成二维点。 需要确保传入点在面上。 输出点的x坐标是传入点的u参数。 y坐标是v参数。

Get a 2d point corresponding to a 3d point on the surface. We need make sure the input point is on the surface. The returned point's x coordinate is parameter u of the input 3d point. y coordinate is parameter v of the input 3d point.

Signature:

getUVPoint(point: KPoint3d): KPoint2d;

Links: getUVPoint(point: KPoint3d): KPoint2d;

Parameters

Parameter

Type

Description

point

KPoint3d

面上一点。

The input point on the surface

Returns:

KPoint2d

二维点。

The 2d point