跳到主要内容

KCurve3d.isEqual() method

检查两个曲线在指定容差下是否相等。

Check whether two curves are equal with specified tolerance.

Signature:

isEqual(other: KCurve3d, tolerance?: number): boolean;

Links: isEqual(other: KCurve3d, tolerance?: number): boolean;

Parameters

Parameter

Type

Description

other

KCurve3d

要比对的曲线。

The curve to compare this curve with.

tolerance

number

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

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

Returns:

boolean

如果相等返回true。

Return true if equal, otherwise return false.