跳到主要内容

IDP.Math.KGeomLib.createGeomLoop2d() method

通过轮廓线数组来创建二维环。 需要保证轮廓线数组首尾相连。

Create a loop2d by bounded curves. The caller need to make sure the input curves are connected tail to head and closed.

Signature:

createGeomLoop2d(curves: KBoundedCurve2d[]): KGeomLoop2d;

Links: createGeomLoop2d(curves: KBoundedCurve2d[]): KGeomLoop2d;

Parameters

Parameter

Type

Description

curves

KBoundedCurve2d[]

输入轮廓线数组。

The input curves of a loop2d.

Returns:

KGeomLoop2d

返回二维环对象。

Return a loop2d object.