Navigation: Scripting Reference Manual > Functions & Subroutines > CurveEval

 

CurveEval

 

Contact Us: fredsupport@photonengr.com

 

Description

For the specified curve and u-parameter, returns point (x,y,z) and the vector (a,b,c) tangent to the curve at that point.  The length of vector (a,b,c) is proportional to the derivative of the curve at point (x,y,z).  The returned values are in the coordinate system of the curve.

 

Syntax

success = CurveEval( n, u, x, y, z, a, b, c )

 

Parameters

success (Boolean)

Returns True if curve is evaluated.

 

n As Long

Node number of curve.

 

u As Double

U-parameter of curve

 

x As Double

X coordinate of point specified by u parameter.

 

y As Double

Y coordinate of point specified by u parameter.

 

z As Double

Z coordinate of point specified by u parameter.

 

a As Double

X-component of vector tangent to curve at point specified by u parameter.

 

b As Double

Y-component of vector tangent to curve at point specified by u parameter.

 

c As Double

Z-component of vector tangent to curve at point specified by u parameter.

 

 

See Also

ExplicitSurfEval

ExplicitSurfEvalUV

 

 

 

 

 

Copyright © Photon Engineering, LLC