SimplifyArray - PYTHON 不支持

Flattens an array of 3-D points into a one-dimensional array of real number.For example, if you had an array containing three 3-D points, this method would return a one-dimensional array containing nine real numbers.

语法

Rhino.SimplifyArray (arrPoints)

参数

arrPoints

Required.Array.An array of 3-D points.

返回值

Array

A one-dimensional array containing real numbers, if successful.

Null

If not successful or on error.

示例

Dim arrPoints, arrNumbers, n

arrPoints = Rhino.GetPoints

If IsArray(arrPoints) Then  

  arrNumbers = Rhino.SimplifyArray(arrPoints)

  For Each n In arrNumbers

    Rhino.Print n

  Next

End If