Navigation: Scripting Reference Manual > Functions & Subroutines > GetSampledSurfValue

 

GetSampledSurfValue

 

Contact Us: fredsupport@photonengr.com

 

Description

Gets the Z value of a sampled surface given i and j of the bicubic mesh array.

 

Syntax

z = GetSampledSurfValue ( n, i, j )

 

Parameters

z (Double)

The value at the point on the sampled surface.

 

n As Long

Node number of the sampled surface.

 

i As Long

The i'th column of the bicubic mesh array.

 

j As Long

The j'th row of the bicubic mesh array.

 

Remarks

This function gets the Z value of a sampled surface at a particular row and column of the array. If there is a problem the function sets an error and returns 0.

 

See Also

AddSampledSurf

SetSampledSurfSize

GetSampledSurfXcoordinate

SetSampledSurfValue

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC