跳到主要内容

KSurface.coplanar() method

考虑两个面的边界,以指定容差检查两个面是否共面。

Check whether two surface are coplanar with respecting their sides and specified tolerance.

Signature:

coplanar(other: KSurface, tolerance?: number): boolean;

Links: coplanar(other: KSurface, tolerance?: number): boolean;

Parameters

Parameter

Type

Description

other

KSurface

要比较的另一个面。

The surface to compare this surface with.

tolerance

number

(Optional) 指定容差,默认值为1e-6。

The specified tolerance.The default value is 1e-6.

Returns:

boolean

如果共面返回true。

Return true if coplanar, otherwise return false.