Interpolates the z-coordinate of the triangulated surface at a given point in the xy-plane.

Namespace:  ceometric.ComputationalGeometry
Assembly:  ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)

Syntax

C#
public double GetZCoordinate(
	Point point
)
Visual Basic (Declaration)
Public Function GetZCoordinate ( _
	point As Point _
) As Double
Visual C++
public:
double GetZCoordinate(
	Point^ point
)

Parameters

point
Type: ceometric.VectorGeometry..::.Point
A point in the xy-plane (the z-coordinate is ignored).

Return Value

Returns the z-coordinate of the triangulated surface at a given point in the xy-plane. Returns double.NaN if a z-coordinate could not be interpolated.

Remarks

A z-coordinate can not be interpolated if the point lies outside the data structure of the triangulation, the node is a bad node or the respective triangle is degenerate.

See Also