Navigation: Scripting Reference Manual > Functions & Subroutines > GetSampledSurfZ

 

GetSampledSurfZ

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the interpolated Z value at a given (X, Y) point on a Sampled Surface.

 

Syntax

z = GetSampledSurfZ ( n, x, y )

 

Parameters

z (Double)

The Z value at (x,y)

 

n As Long

Node number of the Sampled Surface.

 

x As Double

The X coordinate of the point.

 

y As Double

The Y coordinate of the point.

 

 

Remarks

Retrieves the interpolated Z value at a given (x,y) point on a Sampled Surface. If there is a problem the function sets an error and returns 0.

 

See Also

AddSampledSurf

SetSampledSurfSize

SetSampledSurfXcoordinate

GetSampledSurfValue

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC