跳到主要内容

KSurface.distanceToPoint() method

获得点到面的距离。

Get the distance from the input point to this surface.

Signature:

distanceToPoint(point: KPoint3d): number;

Links: distanceToPoint(point: KPoint3d): number;

Parameters

Parameter

Type

Description

point

KPoint3d

传入点。

The input point.

Returns:

number

传入的点到面的距离。

The distance from the input point to this surface.