跳到主要内容

IDP.Math.KGeomLib.areCurvesTotallyOverlap() method

在特定容差下,检查两曲线是否完全重合。

Get the totally overlap status of two curves with specified tolerance.

Signature:

areCurvesTotallyOverlap(curve1: KCurve3d, curve2: KCurve3d, tolerance?: number): boolean;

Links: areCurvesTotallyOverlap(curve1: KCurve3d, curve2: KCurve3d, tolerance?: number): boolean;

Parameters

Parameter

Type

Description

curve1

KCurve3d

第一条曲线。

The first curve.

curve2

KCurve3d

第二条曲线。

The second curve.

tolerance

number

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

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

Returns:

boolean

若两条曲线完全重叠,则返回true。

Return true if two curves totally overlap, otherwise return false.