NurbsSurface.GetUVFromNormalizedUV operator

Description

Returns the UV value equivalent to the inputed normalized UV values.

Note: This method uses output arguments. C# and some scripting languages (such as JScript and PerlScript) don't support arguments passed by reference. However, there is a alternate version of this method which is considered safe to use with C#, JScript and PerlScript: NurbsSurface.GetUVFromNormalizedUV2.

Scripting Syntax

NurbsSurface.GetUVFromNormalizedUV( UValueNormalized, VValueNormalized, UValue, VValue );

Parameters

Parameter Type Description
UValueNormalized Double The normalized UValue(0.0 to 1.0) from which we want the actual U Value.
VValueNormalized Double The normalized VValue(0.0 to 1.0) from which we want the actual V Value.
UValue Double The actual U value.
VValue Double The actual V value.

Examples

VBScript Example

set oRoot = Application.ActiveProject.ActiveScene.Root
set oSphere = oRoot.AddGeometry( "Sphere", "NurbsSurface" )
oSphere.ActivePrimitive.Geometry.Surfaces(0).GetUVFromNormalizedUV _
        0.5, 0.5, UValue, VValue
LogMessage "The equivalent to the normalized UV: 0.5, 0.5 is U :" & _
        UValue & " V: " & VValue