跳到主要内容

KGeomLoop2d.centroid() method

获得二维环的质心。

The centroid of the loop2d.

Signature:

centroid(): KPoint2d;

Links: centroid(): KPoint2d;

Returns:

KPoint2d

返回二维环的质心。

Return the centroid of the loop2d.