Navigation: Scripting Reference Manual > Functions & Subroutines > ExplicitSurfEval

 

ExplicitSurfEval

 

Contact Us: fredsupport@photonengr.com

 

Description

For the specified explicit surface and u,v-parameters, returns point (x,y,z) and the vector (a,b,c) normal to the surface at that point.

 

Syntax

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

 

Parameters

success (Boolean)

Returns True if surface is evaluated and False if the surface was not evaluated or the specified point is not within the surface's valid u-v parameter limits.

 

n As Long

Node number of Explicit surface.

 

u As Double

U-parameter of Explicit Surface.

 

v As Double

V-parameter of Explicit Surface.

 

x As Double

X coordinate of point specified by u & v parameter.

 

y As Double

Y coordinate of point specified by u & v parameter.

 

z As Double

Z coordinate of point specified by u & v parameter.

 

a As Double

X-component of vector normal to surface at point specified by u & v parameter.

 

b As Double

Y-component of vector normal to surface at point specified by u & v parameter.

 

c As Double

Z-component of vector normal to surface at point specified by u & v parameter.

 

Remarks

For the specified explicit surface and u,v-parameters, returns point (x,y,z) and the vector (a,b,c) normal to the surface at that point. The length of vector (a,b,c) is proportional to the derivative of the explicit function.

 

See Also

CurveEval

ExplicitSurfEvalUV

 

 

 

 

 

Copyright © Photon Engineering, LLC