跳到主要内容

IDP.Math.KGeomFace2d.isValid() method

检查该面是否有效,其中每一个内外轮廓均需都有效, 外轮廓包围所有内轮廓,所有内轮廓不相交。 外轮廓与内轮廓反向。

Whether the face2d is valid, including: - Each contour and hole is valid - Contour contains all holes and holes are not overlapped. - Contour and holes have opposite direction.

Signature:

isValid(): boolean;

Returns:

boolean

返回face2d是否有效。

Return true if the face2d is valid.