Creates a circle fit through points.
Rhino.CircleFromPoints (arrPoints)
arrPoints |
Required. Array. An array of 3-D points. The array must contain at least three points. |
Array |
An array containing the definition of the circle if successful. The elements of the array are as follows:
|
|||||||||
Null |
If not successful, or on error. |
Dim arrPoints, arrCircle
arrPoints = Rhino.GetPointCoordinates("Select points")
If IsArray(arrPoints) Then
arrCircle = Rhino.CircleFromPoints(arrPoints)
If IsArray(arrCircle) Then
Rhino.AddCircle arrCircle(0), arrCircle(1)
End If
End If