This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditorZ Interface > IEditorZ.FinalizeZs Method (ArcObjects .NET 10.5 SDK) |
Resolves NaN Zs to definite values.
[Visual Basic .NET] Public Sub FinalizeZs ( _ ByVal Geometry As IGeometry _ )
[C#] public void FinalizeZs ( IGeometry Geometry );
This method ensures a particular geometry has a valid set of z values defined. This method attempts to interpolate the z-value of any non-simple points in the geometry; if result is non-simple then the Failed method of the class implementing INotifyZFinalize and hooked into IEditorZ::NotifyZFinalize is given an opportunity to manipulate the Z values. If the client handles this, the method checks for simplicity and defines the offending z-values as necessary to successfully store the feature (using IEditSketch2::CurrentZ).