Surface.getNormal


getNormal()

getNormal(X, Y, Z)

getNormal()

returns the normal of this surface as a vector, represented by an array of three numbers. Optionally, the position (which must be on the surface) where the normal is required may also be given. If not given, the centre of the surface is used.

XdoubleX ordinate
YdoubleY ordinate
ZdoubleZ ordinate
posArrayArray of 3 doubles, representing the coordinates
Return valuearray of real numbers The returned vector as an array of three numbers

Back to Surface

Back to Overview