SurfaceParameter

Converts a normalized surface parameter to a surface parameter; one within the surface's domain.

Syntax

Rhino.SurfaceParameter (strObject , arrParameter)

Parameters

strObject

Required.  String.  The object's identifier.

dblParameter

Required.  Array.  The normalized surface parameter to convert.

Returns

Array

The surface parameter if successful.

Null

On error.

Example

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

Also See

SurfaceDomain

SurfaceNormalizedParameter