GetPercentageFromU (NurbsCurve) *
Description
Returns the percentage (with values between 0.0 and 100.0 inclusive) along the curve at the given U value.
Scripting Syntax
NurbsCurve.GetPercentageFromU( UValue )
C# Syntax
Double NurbsCurve.GetPercentageFromU( Double in_dUValue );
Parameters
|
Parameter |
Type |
Description |
|
UValue |
The U value at which we want to evaluate the curve. |
Return Value
Examples
VBScript Example
set oRoot = Application.ActiveProject.ActiveScene.Root set oArc = oRoot.AddGeometry( "Arc", "NurbsCurve" ) percentage = oArc.ActivePrimitive.Geometry.Curves(0).GetPercentageFromU( 2.0 ) LogMessage "The percenatage of the curve at U = 2.0 is :" & percentage
See Also
SOFTIMAGE|XSI v6.01