IsPolysurfacePlanar - Python 不支持

Verifies a polysurface object is planar.

语法

Rhino.IsPolysurfacePlanar (strObject)

参数

strObject

Required.字符串。The object's identifier.

返回值

Boolean

True if successful, otherwise False.

Null

On error.

示例

Const rhObjectPolySurface = 16

Dim strObject

strObject = Rhino.GetObject("Select a polysurface", rhObjectPolySurface)

If Rhino.IsPolysurfacePlanar(strObject) Then

Rhino.Print "The polysurface is planar."

Else

Rhino.Print "The polysurface is not planar."

End If

同见

IsBrep

IsPolysurface

IsPolysurfaceClosed