Verifies a surface object is singular in the specified direction. Surfaces are considered singular if a side collapses to a point.
Rhino.IsSurfaceSingular (strObject)
strObject |
Required. String. The object's identifier. |
intDirection |
Required. Number. The direction, either 0 = south, 1 = east, 2 = north, or 3 = west. |
Boolean |
True if successful, otherwise False. |
Null |
On error. |
Const rhObjectSurface = 8
Dim strObject
strObject = Rhino.GetObject("Select a surface", rhObjectSurface)
If Rhino.IsSurfaceSingular(strObject, 0) Then
Rhino.Print "The surface is singular."
Else
Rhino.Print "The surface is not singular."
End If