Converts a normalized surface parameter to a surface parameter; one within the surface's domain.
Rhino.SurfaceParameter (strObject , arrParameter)
strObject |
Required. String. The object's identifier. |
dblParameter |
Required. Array. The normalized surface parameter to convert. |
Array |
The surface parameter if successful. |
Null |
On error. |
Dim strObject, arrParameter, arrNormalized
strObject = Rhino.GetObject("Select surface")
If Rhino.IsSurface(strObject) Then
arrNormalized = Array(0.5, 0.5)
Rhino.Print "Normalized parameter: " & CStr(arrNormalized(0)) & "," & CStr(arrNormalized(1))
arrParameter = Rhino.SurfaceParameter(strObject, arrNormalized)
Rhino.Print "Surface parameter: " & CStr(arrParameter(0)) & "," & CStr(arrParameter(1))
End If